[
https://issues.apache.org/jira/browse/SOLR-1755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bill Au updated SOLR-1755:
--------------------------
Attachment: SOLR-1755.patch
Since snapinstaller is a bash script. The attached patch uses the noclobber
option to prevent the race condition.
> race condition in snappuller
> ----------------------------
>
> Key: SOLR-1755
> URL: https://issues.apache.org/jira/browse/SOLR-1755
> Project: Solr
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Bill Au
> Assignee: Bill Au
> Priority: Minor
> Attachments: SOLR-1755.patch
>
>
> There is a slight race condition in snapinstaller within the time window
> between testing for the presence and creating the lock file. When the race
> condition is met there can be more than one instance of snapinstaller running.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.