Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pfsd: Key sharing reliability #4

Open
VoyTechnology opened this issue Jun 14, 2022 · 0 comments
Open

pfsd: Key sharing reliability #4

VoyTechnology opened this issue Jun 14, 2022 · 0 comments

Comments

@VoyTechnology
Copy link
Member

If a node is unable to save a key piece given to it by another node pnetserver.SendKeyPiece should return an error. Currently some of these errors are logged and others cause fatals.

When a node is locking itself, it should attempt to be sure a majority of nodes have received it's key pieces before locking. If a majority of nodes have not received it's key pieces and correctly saved them, it will not be able to retrieve it's data. There are tossups with security here, as after some time a node must lock even it is unable to contact a majority of nodes. In this case maybe the node could wipe its data and logs and raft information so it catches up in the future. Of course if a majority of nodes have the same problem, all the data would be gone in this case.

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

No branches or pull requests

1 participant