Closed rbaier closed 9 years ago
Thanks for the pull request!! To ensure quality review, Couchbase employs a code review system based on Gerrit to manage the workflow of changes in addition to tracking our contributor agreements.
To get this change in and collaborate in code review, please register on Gerrit, accept our CLA and push your change there. More detailed instructions are available here: https://developer.couchbase.com/open-source-projects#how-to-contribute-code.
P.S. Our bot tells us you are currently unregistered on Gerrit.
Well, then better keep the wrong example.
The code example in the comment of lock() didn't work. Without the 'break' the loop goes on and on and tries again to lock the key which will fail with TemporaryFailError.