catchup: pause catchup if ledger lagging behind #12108
Annotations
5 errors
ledger/tracker_test.go#L431
[Lint Errors] reported by reviewdog 🐶
increment-decrement: should replace blk.BlockHeader.TimeStamp += 1 with blk.BlockHeader.TimeStamp++ (revive)
Raw Output:
ledger/tracker_test.go:431:3: increment-decrement: should replace blk.BlockHeader.TimeStamp += 1 with blk.BlockHeader.TimeStamp++ (revive)
blk.BlockHeader.TimeStamp += 1
^
|
ledger/tracker_test.go#L166
[Lint Errors] reported by reviewdog 🐶
receiver-naming: receiver name io should be consistent with previous receiver name t for emptyTracker (revive)
Raw Output:
ledger/tracker_test.go:166:1: receiver-naming: receiver name io should be consistent with previous receiver name t for emptyTracker (revive)
func (io *emptyTracker) committedUpTo(committedRnd basics.Round) (minRound, lookback basics.Round) {
return 0, basics.Round(0)
}
|
ledger/tracker.go#L310
[Lint Errors] reported by reviewdog 🐶
printf: (github.com/algorand/go-algorand/logging.Logger).Info call has possible Printf formatting directive %d (govet)
Raw Output:
ledger/tracker.go:310:3: printf: (github.com/algorand/go-algorand/logging.Logger).Info call has possible Printf formatting directive %d (govet)
tr.log.Info("Reset maxAccountDeltas to %d because of config.MaxAcctLookback=%d. Be advised it could cause OOM.", tr.maxAccountDeltas, cfg.MaxAcctLookback)
^
|
ledger/tracker.go#L358
[Lint Errors] reported by reviewdog 🐶
shadow: declaration of "err" shadows declaration at line 340 (govet)
Raw Output:
ledger/tracker.go:358:3: shadow: declaration of "err" shadows declaration at line 340 (govet)
err := lt.loadFromDisk(l, dbRound)
^
|
|
The logs for this run have expired and are no longer available.
Loading