File tree 2 files changed +4
-4
lines changed
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1454,7 +1454,7 @@ private void executeProcedure(Procedure<TEnvironment> proc) {
1454
1454
}
1455
1455
do {
1456
1456
// Try to acquire the execution
1457
- if (!procStack .acquire (proc )) {
1457
+ if (!procStack .acquire ()) {
1458
1458
if (procStack .setRollback ()) {
1459
1459
// we have the 'rollback-lock' we can start rollingback
1460
1460
switch (executeRollback (rootProcId , procStack )) {
@@ -1513,7 +1513,7 @@ private void executeProcedure(Procedure<TEnvironment> proc) {
1513
1513
default :
1514
1514
throw new UnsupportedOperationException ();
1515
1515
}
1516
- procStack .release (proc );
1516
+ procStack .release ();
1517
1517
1518
1518
if (proc .isSuccess ()) {
1519
1519
// update metrics on finishing the procedure
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ protected synchronized RemoteProcedureException getException() {
135
135
/**
136
136
* Called by the ProcedureExecutor to mark the procedure step as running.
137
137
*/
138
- protected synchronized boolean acquire (Procedure < TEnvironment > proc ) {
138
+ protected synchronized boolean acquire () {
139
139
if (state != State .RUNNING ) {
140
140
return false ;
141
141
}
@@ -147,7 +147,7 @@ protected synchronized boolean acquire(Procedure<TEnvironment> proc) {
147
147
/**
148
148
* Called by the ProcedureExecutor to mark the procedure step as finished.
149
149
*/
150
- protected synchronized void release (Procedure < TEnvironment > proc ) {
150
+ protected synchronized void release () {
151
151
running --;
152
152
}
153
153
You can’t perform that action at this time.
0 commit comments