hiero-ledger / hiero-ledger/hiero-consensus-node

Platform saves previous state after reconnect

Open
#6,831 1 comment 0 reactions 1 assignee Claimed by @cody-littley View on GitHub
Platform
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

I’ve recently observed an interesting test failure, caused by the following sequence of events:

1) Round `X` reaches consensus, and we know we want to write it to disk eventually
2) Before we gather enough signatures on round `X`, we fall behind
3) When we eventually reconnect, the current round is way ahead of `X`
4) The node decides (correctly) that it will never be able to gather enough signatures on round `X`, and writes the state from round X to disk anyways.

This is not ideal. Will update this ticket with the proposed changes, once those details have been hashed out.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.