bharathv commented on a change in pull request #1905:
URL: https://github.com/apache/hbase/pull/1905#discussion_r440547451
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
##########
@@ -2475,13 +2475,21 @@ public RSRpcServices getRSRpcServices() {
*/
@Override
public void abort(String reason, Throwable cause) {
+ synchronized (this) {
Review comment:
Okay. Used synchronized to keep the changes minimal. But CAS is good
too, changed it.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]