eiri opened a new pull request #576: Add retry to get_view_state
URL: https://github.com/apache/couchdb/pull/576
 
 
   ## Overview
   
   There are a race condition in `get_view/4`, between acquiring index's Pid 
and getting
   its state, that surface when the same signature DDoc got rapidly deleted and 
re-created.
   
   This patch addresses this by adding retry logic to `get_view_index_state`.
   
   ## Testing recommendations
   
   Running in while loop `make javascript suites=builtin_reduce.js` should not 
yield exceptions in long run.
   
   ## GitHub issue number
   
   apache/couchdb#548
   
   ## Checklist
   
   - [x] Code is written and works correctly;
   - [ ] Changes are covered by tests;
   - [ ] Documentation reflects the changes;
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to