mnpoonia commented on code in PR #6789:
URL: https://github.com/apache/hbase/pull/6789#discussion_r2028174168
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java:
##########
@@ -8479,13 +8481,35 @@ public void closeRegionOperation(Operation operation)
throws IOException {
stores.values().forEach(HStore::postSnapshotOperation);
}
Thread thisThread = Thread.currentThread();
- regionLockHolders.remove(thisThread);
+ removeRPCThreadFromMap(thisThread);
lock.readLock().unlock();
if (coprocessorHost != null) {
coprocessorHost.postCloseRegionOperation(operation);
}
}
+ private boolean isOperationInterruptible(Operation op) throws IOException {
+ boolean isInterruptableOp = false;
+ switch (op) {
Review Comment:
I am still trying to find why other operations are not interruptible.
@Apache9 Do you happen to know the reason?
--
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]