Skip to content

Commit 50281b9

Browse files
committed
add comments
1 parent 87c9cf2 commit 50281b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,6 +1466,8 @@ private void releaseLock(Procedure<TEnvironment> proc, boolean force) {
14661466
}
14671467
}
14681468

1469+
// Returning null means we have already held the execution lock, so you do not need to get the
1470+
// lock entry for releasing
14691471
private IdLock.Entry getLockEntryForRollback(long procId) {
14701472
// Hold the execution lock if it is not held by us. The IdLock is not reentrant so we need
14711473
// this check, as the worker will hold the lock before executing a procedure. This is the only

0 commit comments

Comments
 (0)