Skip to content

Conversation

@cshannon
Copy link
Contributor

Instead of using a boolean value for obtaining table locks, use an enum which makes the code more readable and makes it easier to search and catch errors with the lock type. The enum used already existed in DistributedReadWriteLock. This PR is for the same changes to elasticity as in main that is being done in #4297. Because everything conflicts #4297 will need to be merged forwards from main to elasticity as an empty commit and then this can be merged.

This closes #4276

Instead of using a boolean value for obtaining table locks, use an enum
which makes the code more readable and makes it easier to search and
catch errors with the lock type.

This closes apache#4276
@cshannon cshannon merged commit c720dd4 into apache:elasticity Feb 26, 2024
@cshannon cshannon deleted the accumulo-4276-elasticity branch February 26, 2024 18:28
@ctubbsii ctubbsii added this to the 4.0.0 milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants