ROWS ==> LOCKSas well as
LOCKS ==> ROWSBut it acts as a guard on the client; a miswritten client just can't submit the name of a row and start writing to it; it must know the correct lockid, which matches the lock list in memory.
It would be more memory-efficient to assume a correctly-written client, which maybe we'll do in the future. @param row Name of row to lock. @throws IOException @return The id of the held lock.
|
|
|
|
|
|