Skip to content

Bootstrap could not read block error printed every 0.1 second #1017

@oleksandrSydorenkoJ

Description

@oleksandrSydorenkoJ

Describe the bug
Every error log should be printed once per several seconds if it is repeatable

Preconditions
Chain 4 nodes

Versions:
skalenetwork/schain:5.1.0-develop.31-bite

To Reproduce

  1. Stop skaled with CTX transaction WITHOUT currentBlockRandomPatchTimestamp
  2. Restart skaled and check the skaled logs after the restart

Expected behavior
Bootstrap could not read block should be printed once every several seconds

Actual state:
Bootstrap could not read block error is printed every 0.1 second


[2026-03-31 03:59:45.317] [config] [error] Bootstrap could not read block 30986 from db. Repair. Exception: Schain:Exit requested
[2026-03-31 03:59:45.317] [config] [info] Consensus exiting: Schain:Exit requested
[2026-03-31 03:59:45.341] [config] [trace] Double db entry randoms_8.db
1.0:30986:RANDOM_FOR_REENCRYPTION
[2026-03-31 03:59:45.341] [config] [error] Bootstrap could not read block 30986 from db. Repair. Exception: Schain:Exit requested
[2026-03-31 03:59:45.341] [config] [info] Consensus exiting: Schain:Exit requested
[2026-03-31 03:59:45.364] [config] [trace] Double db entry randoms_8.db
1.0:30986:RANDOM_FOR_REENCRYPTION
[2026-03-31 03:59:45.364] [config] [error] Bootstrap could not read block 30986 from db. Repair. Exception: Schain:Exit requested
[2026-03-31 03:59:45.364] [config] [info] Consensus exiting: Schain:Exit requested
[2026-03-31 03:59:45.389] [config] [trace] Double db entry randoms_8.db
1.0:30986:RANDOM_FOR_REENCRYPTION
[2026-03-31 03:59:45.389] [config] [error] Bootstrap could not read block 30986 from db. Repair. Exception: Schain:Exit requested
[2026-03-31 03:59:45.389] [config] [info] Consensus exiting: Schain:Exit requested
[2026-03-31 03:59:45.412] [config] [trace] Double db entry randoms_8.db
1.0:30986:RANDOM_FOR_REENCRYPTION
[2026-03-31 03:59:45.413] [config] [error] Bootstrap could not read block 30986 from db. Repair. Exception: Schain:Exit requested
[2026-03-31 03:59:45.413] [config] [info] Consensus exiting: Schain:Exit requested
[2026-03-31 03:59:45.436] [config] [trace] Double db entry randoms_8.db
1.0:30986:RANDOM_FOR_REENCRYPTION
[2026-03-31 03:59:45.437] [config] [error] Bootstrap could not read block 30986 from db. Repair. Exception: Schain:Exit requested
[2026-03-31 03:59:45.437] [config] [info] Consensus exiting: Schain:Exit requested
2026-03-31 03:59:45.440202   Queued vaguely legit-looking transaction #b12ffa66…
2026-03-31 03:59:45.440245   Successfully received through broadcast b12ffa66265f25d03ddfd54f7b300af5632dcdf9af430eeebc4a2b7a14587c1e
[2026-03-31 03:59:45.460] [config] [trace] Double db entry randoms_8.db
1.0:30986:RANDOM_FOR_REENCRYPTION
[2026-03-31 03:59:45.460] [config] [error] Bootstrap could not read block 30986 from db. Repair. Exception: Schain:Exit requested
[2026-03-31 03:59:45.460] [config] [info] Consensus exiting: Schain:Exit requested
[2026-03-31 03:59:45.484] [config] [trace] Double db entry randoms_8.db
1.0:30986:RANDOM_FOR_REENCRYPTION

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions