Skip to content

block 8666621 is not present in the archive (non-empty archive, last block 8666620 #399

@kaber2

Description

@kaber2

Latest version of Sonic, when issuing a RPC request immediately after receiving a new block notification, I sometimes receive an error that the new block is "not present in the archive".

F.i. for block 8,666,621 the newHeads notifcation has been received at 15:13:52.401, immediately afterwards some RPC queries have been sent, which received the following error at 15:13:52.405, so 4ms later:

block 8666621 is not present in the archive (non-empty archive, last block 8666620

I guess there's a race condition that the block is not actually writen to the database before the newHeads notification is sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions