hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-17067 Procedure v2 - remove tryAcquire*Lock and use wait/wake to make; ADDENDUM Address review comment by Stephen Yuan Jiang framework event based
Date Tue, 24 Jan 2017 06:58:16 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 843ba9e54 -> 616f4801b


HBASE-17067 Procedure v2 - remove tryAcquire*Lock and use wait/wake to make; ADDENDUM Address
review comment by Stephen Yuan Jiang
framework event based


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/616f4801
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/616f4801
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/616f4801

Branch: refs/heads/master
Commit: 616f4801b06a8427a03ceca9fb8345700ce1ad71
Parents: 843ba9e
Author: Michael Stack <stack@apache.org>
Authored: Mon Jan 23 22:57:45 2017 -0800
Committer: Michael Stack <stack@apache.org>
Committed: Mon Jan 23 22:57:45 2017 -0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/616f4801/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
----------------------------------------------------------------------
diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
index c5f6daf..0dc1624 100644
--- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
+++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/ProcedureExecutor.java
@@ -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();


Mime
View raw message