vigyasharma commented on pull request #633: URL: https://github.com/apache/lucene/pull/633#issuecomment-1068815107
1. Found a better way to handle addIndexes failures due to background merges - OneMerge objects store the error they run into, which can be pulled via `OneMerge.getException()`. We `rethrow` these errors if they turn out to be the cause for addIndexes failure. This fixes tests which expect certain exceptions, like random IO exceptions thrown by MockDirectoryWrapper in `BasePointsFormatTestCase#testWithExceptions`. 2. Added a test for validate we API and destination writer state when we hit `IndexWriter.actualMaxDocs` limit. 3. Fixed breaking tests from the last run. -- 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