ctubbsii commented on code in PR #6470:
URL: https://github.com/apache/accumulo/pull/6470#discussion_r3554194132
##########
core/src/main/java/org/apache/accumulo/core/clientImpl/TabletLocator.java:
##########
@@ -131,8 +131,8 @@ static synchronized boolean isEnabled() {
}
static synchronized void disable() {
- clearLocators();
enabled = false;
+ clearLocators();
Review Comment:
I think this also doesn't matter because all accesses of the enabled field
are synchronized on the same object monitor.
--
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]