besu icon indicating copy to clipboard operation
besu copied to clipboard

Provide useful information when backward sync preconditions not met

Open ajsutton opened this issue 2 years ago • 2 comments

Description

When syncing a new teku+besu node, besu 22.4.0 wound up repeatedly logging:

2022-07-20 21:00:12.578+00:00 | ForkJoinPool.commonPool-worker-1 | INFO  | BackwardsSyncAlgorithm | Waiting for preconditions...

This is an entirely unhelpful log message. It should clearly explain what preconditions it's waiting on so the user knows why sync is not progressing. Looking at the code in this case I think it was that the initial sync hadn't completed.

ajsutton avatar Jul 21 '22 01:07 ajsutton

@daniellehrner This might be useful for our logging updates

iamhsk avatar Jul 26 '22 15:07 iamhsk

@gezero as well RE backwards sync.

non-fungible-nelson avatar Jul 27 '22 23:07 non-fungible-nelson

Closing for backwards sync changes in 22.10.x

non-fungible-nelson avatar Jan 26 '23 12:01 non-fungible-nelson