Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

ISSUE-1533: Information (Header) of TransientLedgerInfo is not persisted #61

Open
sijie opened this issue Jan 15, 2020 · 0 comments
Open

Comments

@sijie
Copy link
Member

sijie commented Jan 15, 2020

Original Issue: apache#1533


FEATURE REQUEST

  1. Please describe the feature you are requesting.

TransientLedgerInfo class borrows the logic from FileInfo, which is used for holding all the transient states for a given ledger when DbLedgerStorage is used for LedgerStorage. But unlike FileInfo, in TransientLedgerInfo, Header (containing masterKey, stateBits and explicitLac) is not defined and it is not persisted.

  1. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

With apache#1527 we are going to persist explicitLac, but since TransientLedgerInfo doesn't has Header/persistence logic, for now I'm going to ignore persisting explicitLac logic in TransientLedgerInfo/DbLedgerStorage case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant