Skip to content

Commit 7ab59b9

Browse files
wuwenchi吴文池
andauthored
[HUDI-4843] Delete the useless timer in BaseRollbackActionExecutor (#6671)
Co-authored-by: 吴文池 <wuwenchi@deepexi.com>
1 parent 35d03e9 commit 7ab59b9

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/rollback/BaseRollbackActionExecutor.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,6 @@ public BaseRollbackActionExecutor(HoodieEngineContext context,
100100
private HoodieRollbackMetadata runRollback(HoodieTable<T, I, K, O> table, HoodieInstant rollbackInstant, HoodieRollbackPlan rollbackPlan) {
101101
ValidationUtils.checkArgument(rollbackInstant.getState().equals(HoodieInstant.State.REQUESTED)
102102
|| rollbackInstant.getState().equals(HoodieInstant.State.INFLIGHT));
103-
final HoodieTimer timer = new HoodieTimer();
104-
timer.startTimer();
105103
final HoodieInstant inflightInstant = rollbackInstant.isRequested()
106104
? table.getActiveTimeline().transitionRollbackRequestedToInflight(rollbackInstant)
107105
: rollbackInstant;

0 commit comments

Comments
 (0)