nickva opened a new pull request, #4003:
URL: https://github.com/apache/couchdb/pull/4003

   Previously we didn't check responses from get_state/2 or await/2 functions 
when building indices. If an index updater crashed, and the index never 
finished building, the get_state/2 call would simply return an error and the 
process
   would exit normally. Then, the shard splitting job would count that as a 
success and continue to make progress.
   
   To fix that, make sure to check the response to all the supported indexing 
types and wait until they return an `ok` result.
   
   Additionally, increase the index building resilience to allow, for more 
retries on failure and for configurable retries for individual index builders. 
That might come in handy if there is any operator intervention to to clear up 
space by killing couch_files forcibly and deleting if there is a disk space 
alert.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to