cuibo01 commented on a change in pull request #2343:
URL: https://github.com/apache/hbase/pull/2343#discussion_r483418959
##########
File path:
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/RemoteProcedureDispatcher.java
##########
@@ -357,8 +369,9 @@ public void awaitTermination() {
*/
protected final class BufferNode extends
DelayedContainerWithTimestamp<TRemote>
implements RemoteNode<TEnv, TRemote> {
- private Set<RemoteProcedure> operations;
- private final Set<RemoteProcedure> dispatchedOperations = new HashSet<>();
+ private Set<RemoteProcedure> operations = Sets.newConcurrentHashSet();
+ private final Set<RemoteProcedure> dispatchedOperations =
Sets.newConcurrentHashSet();
+ private final Object lock = new Object();
Review comment:
yeah, but abortOperationsInQueue does't happen very often
----------------------------------------------------------------
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]