Skip to content

Replay: wal.group.Search returned EOF  #740

@rigelrozanski

Description

@rigelrozanski

We should probably include a mechanism for dealing with the end of the replay which is not an error... It seems to set off a chain reaction of small errors in my case

Reproduction:

  • Connect to running blockchain with a node which has no voting power on that blockchain
    reproduction:

main error:

Error on catchup replay. Proceeding to start ConsensusState anyway module=consensus err="Cannot replay height 1048. WAL does not contain #ENDHEIGHT for 1047."

Detailed error:

I[10-12|20:21:04.872] Executed block                               module=state height=1046 validTxs=0 invalidTxs=0
I[10-12|20:21:04.873] Committed state                              module=state height=1046 txs=0 hash=3CA795AF0D05933A96E01FAC942A3A38D2914496
I[10-12|20:21:04.879] Executed block                               module=state height=1047 validTxs=0 invalidTxs=0
I[10-12|20:21:04.880] Committed state                              module=state height=1047 txs=0 hash=288A1E464C48BF6D65A39B762635547BE61900F6
E[10-12|20:21:04.976] Replay: wal.group.Search returned EOF        module=consensus #ENDHEIGHT=1047
E[10-12|20:21:04.976] Error on catchup replay. Proceeding to start ConsensusState anyway module=consensus err="Cannot replay height 1048. WAL does not contain #ENDHEIGHT for 1047."
E[10-12|20:21:05.379] Attempt to finalize failed. We don't have the commit block. module=consensus height=1048 proposal-block= commit-block=48967C767CB5D1A1117F8CCD110FF25A7C138405
I[10-12|20:21:05.691] Executed block                               module=state height=1048 validTxs=0 invalidTxs=0
I[10-12|20:21:05.692] Committed state                              module=state height=1048 txs=0 hash=9844C65E29C5761D5AC2975A8988C92472EF0E39
E[10-12|20:21:06.166] Attempt to finalize failed. We don't have the commit block. module=consensus height=1049 proposal-block= commit-block=A48EBE3D420413477AAAB52DAF6692882624677D
I[10-12|20:21:06.521] Executed block                               module=state height=1049 validTxs=0 invalidTxs=0
I[10-12|20:21:06.523] Committed state                              module=state height=1049 txs=0 hash=273047DB777C7ECA138E1CCED1F3A9BD6F5F8D09
E[10-12|20:21:06.894] Attempt to finalize failed. We don't have the commit block. module=consensus height=1050 proposal-block= commit-block=091E89935E38565FF8418D97438E65AEB1867878
I[10-12|20:21:07.270] Executed bloc

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