HBASE-17067 Procedure v2 - remove tryAcquire*Lock and use wait/wake to make; ADDENDUM Address review comment by Stephen Yuan Jiang
framework event based
This commit is contained in:
parent
843ba9e545
commit
616f4801b0
|
@ -1096,8 +1096,8 @@ public class ProcedureExecutor<TEnvironment> {
|
||||||
case LOCK_ACQUIRED:
|
case LOCK_ACQUIRED:
|
||||||
break;
|
break;
|
||||||
case LOCK_YIELD_WAIT:
|
case LOCK_YIELD_WAIT:
|
||||||
scheduler.yield(proc);
|
|
||||||
procStack.unsetRollback();
|
procStack.unsetRollback();
|
||||||
|
scheduler.yield(proc);
|
||||||
break;
|
break;
|
||||||
case LOCK_EVENT_WAIT:
|
case LOCK_EVENT_WAIT:
|
||||||
procStack.unsetRollback();
|
procStack.unsetRollback();
|
||||||
|
|
Loading…
Reference in New Issue