ebehrendt opened a new pull request #1398: SOLR-13101: Every BLOB_PULL_STARTED 
should have a matching BLOB_PULL_FINISHED irrespective of failures
URL: https://github.com/apache/lucene-solr/pull/1398
 
 
   # Description
   If exception is thrown during core pull from blob store, there is no record 
of the pull finishing. This caused a failure in 
SharedCoreConcurrencyTest.testIndexingQueriesDeletes() when it identified a 
BLOB_PULL_STARTED without a matching BLOB_PULL_FINISHED, meaning the pulls are 
interleaved. We want to record pull as finished upon completion even if it was 
unsuccessful. 
   
   # Solution
   Move recording the state the pull as finished finally block so it will 
record pull as finished irrespective of failures.
   
   # Tests
   Reproduced failure by throwing an exception in pull code and verified that 
code change fixes the interleaved pull failure. Ran all tests.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to