You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/06/05 17:32:10 UTC

[GitHub] eiri opened a new pull request #576: Add retry to get_view_state

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:
users@infra.apache.org


With regards,
Apache Git Services