[ https://issues.apache.org/jira/browse/SOLR-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688313#action_12688313 ]
Yonik Seeley commented on SOLR-1068: ------------------------------------ Actually, the sync should be *before* the files are moved.... otherwise if there is a crash before the sync is called or completed, you end up in the situation of having neither the old or new files (for certain filesystems). >From the email thread: bq. It seems like we would want to throw a file to the sync executor as soon as we've downloaded it. Then wait until all files are sync'd before moving everything out of the temp directory. > Use fsync on replicated index and configuration files > ----------------------------------------------------- > > Key: SOLR-1068 > URL: https://issues.apache.org/jira/browse/SOLR-1068 > Project: Solr > Issue Type: Improvement > Components: replication (java) > Reporter: Shalin Shekhar Mangar > Assignee: Shalin Shekhar Mangar > Fix For: 1.4 > > Attachments: SOLR-1068.patch > > > Related discussion on solr-dev at http://markmail.org/thread/f2axi3ffk3ueudpm -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.