lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramsey Haddad (JIRA)" <>
Subject [jira] [Updated] (SOLR-10962) replicationHandler's reserveCommitDuration configurable in SolrCloud mode
Date Wed, 12 Jul 2017 14:13:00 GMT


Ramsey Haddad updated SOLR-10962:
    Attachment: SOLR-10962.patch

Here is what this looks like using the Config API.

We initially tried to convert all the controls for ReplicationHandler, but it became too much
of a mess.
* partly messy because the args passed onto IndexFetcher can come from two places
* partly because of the work to put in backward compatibility warnings
So we only changed what we need at the moment.

We ended up partitioning the Info structure work between SolrConfig and *Handler in a different
way than UpdateHandler, because:
* we wanted to still allow the legacy default "00:00:10" behavior
* we wanted to keep various ReplicationHandler details local to that class

Also, since the internals work in MilliSeconds, we thought it simpler to expose that to the

> replicationHandler's reserveCommitDuration configurable in SolrCloud mode
> -------------------------------------------------------------------------
>                 Key: SOLR-10962
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: replication (java)
>            Reporter: Ramsey Haddad
>            Priority: Minor
>         Attachments: SOLR-10962.patch, SOLR-10962.patch, SOLR-10962.patch, SOLR-10962.patch,
> With SolrCloud mode, when doing replication via IndexFetcher, we occasionally see the
Fetch fail and then get restarted from scratch in cases where an Index file is deleted after
fetch manifest is computed and before the fetch actually transfers the file. The risk of this
happening can be reduced with a higher value of reserveCommitDuration. However, the current
configuration only allows this value to be adjusted for "master" mode. This change allows
the value to also be changed when using "SolrCloud" mode.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message