[ https://issues.apache.org/jira/browse/SOLR-10962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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 user. > replicationHandler's reserveCommitDuration configurable in SolrCloud mode > ------------------------------------------------------------------------- > > Key: SOLR-10962 > URL: https://issues.apache.org/jira/browse/SOLR-10962 > 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, 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. > https://lucene.apache.org/solr/guide/6_6/index-replication.html -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org