You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "pgj (via GitHub)" <gi...@apache.org> on 2023/06/03 23:30:03 UTC

[GitHub] [couchdb] pgj opened a new pull request, #4632: chore(`mango`): revisit test database recreation logic

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

   Databases used for integration testing are being recreated by unbounded recursion which can blow up the stack in case of unrecoverable errors.  This change revisits the respective parts of the implementation in the following ways:
   
   - Replace the tail recursion for a regular loop.
   - Set an upper limit for the number of tries.
   - Signal the problem with a more descriptive message.
   - Introduce an increasing delay between the subsequent tries for tolerance against transient errors.
   


-- 
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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb] nickva merged pull request #4632: chore(`mango`): revisit test database recreation logic

Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva merged PR #4632:
URL: https://github.com/apache/couchdb/pull/4632


-- 
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: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org