vigyasharma opened a new pull request, #1012: URL: https://github.com/apache/lucene/pull/1012
When `createCompoundFile()` succeeds, it replaces all previously tracked files in segment info, with the new CFS/CFE files. If it passes, the files created prior to writing the CFS files need to be deleted directly. However, if it fails, the calling thread in `IW.addIndexes()` deletes any pending files. The finally block in this code was leading us to double delete those files, causing the test to fail. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org