Update snapsync logging for clearer status. Issue 4346. (#4347)

Signed-off-by: Matt Nelson <matt.nelson@consensys.net>

Signed-off-by: Matt Nelson <matt.nelson@consensys.net>
pull/4353/head
Matt Nelson 2 years ago committed by GitHub
parent 770b6b8354
commit 6e8a906dfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/snapsync/SnapsyncMetricsManager.java

@ -156,7 +156,7 @@ public class SnapsyncMetricsManager {
public void notifySnapSyncCompleted() { public void notifySnapSyncCompleted() {
final Duration duration = Duration.ofMillis(System.currentTimeMillis() - startSyncTime); final Duration duration = Duration.ofMillis(System.currentTimeMillis() - startSyncTime);
LOG.info( LOG.info(
"Finished snapsync with nodes {} (healed={}) duration {}{}:{},{}", "Finished worldstate snapsync with nodes {} (healed={}) duration {}{}:{},{}. Sync block import still in progress...",
nbNodesGenerated.addAndGet(nbNodesHealed.get()), nbNodesGenerated.addAndGet(nbNodesHealed.get()),
nbNodesHealed, nbNodesHealed,
duration.toHoursPart() > 0 ? (duration.toHoursPart() + ":") : "", duration.toHoursPart() > 0 ? (duration.toHoursPart() + ":") : "",

Loading…
Cancel
Save