Skip to content

Commit

Permalink
W-15531319: Enable info log for SyncPrimaryDbTask
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzxu-crm committed Jun 20, 2024
1 parent d917bf2 commit 5dbd1f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public SyncPrimaryDbTask(RocksDB rocksDB, File dbDir, Timer catchUpTimer, Meter
public void run() {
int retry = 1;
while (retry <= catchupRetry) {
log.debug("{}: Start syncing with primary DB {}", retry, dbDir.getAbsolutePath());
log.info("{}: Start syncing with primary DB {}", retry, dbDir.getAbsolutePath());
try (Timer.Context ignored = catchUpTimer.time()) {
rocksDB.tryCatchUpWithPrimary();
break;
Expand All @@ -60,7 +60,7 @@ public void run() {
log.debug("{}: Publishing NameIndexSyncEvent for primary DB {}", retry, dbDir.getName());
applicationEventPublisher.publishEvent(new NameIndexSyncEvent(this));
}
log.debug("{}: Completed syncing with primary DB {}", retry, dbDir.getAbsolutePath());
log.info("{}: Completed syncing with primary DB {}", retry, dbDir.getAbsolutePath());
}
}

Expand Down

0 comments on commit 5dbd1f4

Please sign in to comment.