[
https://issues.apache.org/jira/browse/SOLR-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bill Au updated SOLR-1734:
--------------------------
Attachment: SOLR-1734-2.patch
The original patch has a slight race condition within the time window between
testing for the presence and creation of the lock file. Since snappuller is a
bash script, the revised patch uses the noclobber option to prevent that.
> Add pid file to snappuller to skip script overruns, and recover from failure
> ----------------------------------------------------------------------------
>
> Key: SOLR-1734
> URL: https://issues.apache.org/jira/browse/SOLR-1734
> Project: Solr
> Issue Type: Improvement
> Components: replication (scripts)
> Affects Versions: 1.4
> Reporter: Bill Au
> Assignee: Bill Au
> Priority: Minor
> Attachments: SOLR-1734-2.patch, SOLR-1734.patch
>
>
> The pid file will allow snappuller to be run as fast as possible without
> overruns. Also it will recover from a last failed run should an older
> snappuller process no longer be running. The same has already been done to
> snapinstaller in SOLR-990. Overlapping snappuller could cause replication
> traffic to saturate the network if a large Solr index is being replicated to
> a large number of clients.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.