Skip to content

Commit

Permalink
Follup up on #163, removing the sync in the NSRE code.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Larsen <[email protected]>
  • Loading branch information
manolama committed Aug 14, 2017
1 parent 5e6861d commit 73df099
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/HBaseClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -3262,9 +3262,7 @@ void handleNSRE(HBaseRpc rpc,
final RecoverableException e) {
num_nsre_rpcs.increment();
if (rpc.isProbe()) {
synchronized (rpc) {
rpc.setSuspendedProbe(true);
}
rpc.setSuspendedProbe(true);
}
final boolean can_retry_rpc = !cannotRetryRequest(rpc);
boolean known_nsre = true; // We already aware of an NSRE for this region?
Expand Down

0 comments on commit 73df099

Please sign in to comment.