Details
Description
A locked item can't be locked again when the lock is not released nor expired. However, I noticed that method GetAndLock() doesn't work as expected under certain situation.
Test code and instructions to reproduce the issue can be founder under GitHub repository https://github.com/deminy/couchbase3-issues. In the repository, test script issue-2-a.php works as expected, however, test script issue-2-b.php doesn't throw out an exception when locking a locked item.
I assume that method getAndLock() should lock an item forever when the 2nd argument ($lockTime) is 0.