This is incredibly frustrating... I\'m using the Couchbase v3 C API, and I ran into a problem that would be solved perfectly by using their "pessimistic" locking.