keith-turner commented on issue #2483:
URL: https://github.com/apache/accumulo/issues/2483#issuecomment-3019491232
Implementing this may be fairly straightforward. Currently locks do the
following
1. Read locks check for any write locks that sort earlier to determine if
they hold the lock
2. Write locks check for and read or write locks that sort earlier to
determine if they hold the lock
Seems like the lock algorithm could change to the following.
1. When a lock is added to zookeeper a range is also provided.
2. Read locks check for any write locks with an overlapping range that sort
earlier to determine if they hold the lock
3. Write locks check for and read or write locks with an overlapping range
that sort earlier to determine if they hold the lock
The above changes could be made initially and then follow on changes could
be made to fate operations to use those changes.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]