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:
Michael Stack 2017-01-23 22:57:45 -08:00
parent 843ba9e545
commit 616f4801b0
1 changed files with 1 additions and 1 deletions

View File

@ -1096,8 +1096,8 @@ public class ProcedureExecutor<TEnvironment> {
case LOCK_ACQUIRED:
break;
case LOCK_YIELD_WAIT:
scheduler.yield(proc);
procStack.unsetRollback();
scheduler.yield(proc);
break;
case LOCK_EVENT_WAIT:
procStack.unsetRollback();