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

Check how PoST Proof generation handles missing / corrupted data #101

Open
fasmat opened this issue Feb 6, 2023 · 1 comment
Open

Check how PoST Proof generation handles missing / corrupted data #101

fasmat opened this issue Feb 6, 2023 · 1 comment
Assignees
Labels

Comments

@fasmat
Copy link
Member

fasmat commented Feb 6, 2023

Description

When generating a PoST proof a node can fail to read data from disk, when some or all of the PoST data was deleted, or it could generate a proof based on corrupted / altered PoST data.

Acceptance criteria

  • A node must verify a generated proof after creating it.
    • If the proof is detected as invalid mark the used label indices as corrupted and try again (only once)
    • Failing to generate a proof must be logged such that an operator of a node is informed
  • If data is lost by disk failure or data corruption, the operator should be informed and given the option to continue smeshing with a smaller NumUnit value.
    • Define the limit of lost/corrupted data that triggers the notification to the operator.
    • Define an API for via which smapp is signalled to display the information and give the operator the choice to stop smeshing or decrease the NumUnits value.
    • If the operator chooses to decrease the NumUnits value update the post metadata such that the next time an ATX is published is uses the lower value.
    • If the user fails to respond before the deadline to create and publish an ATX automatically disable smashing.

After genesis

  • The operator is given the option to recreate the missing data and increase their PoST size again.
@fasmat fasmat added enhancement New feature or request performance labels Feb 6, 2023
@fasmat fasmat self-assigned this Feb 6, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Dev team kanban Feb 6, 2023
@fasmat fasmat moved this from 📋 Backlog to 🔖 Next in Dev team kanban Feb 6, 2023
@fasmat fasmat moved this from 🔖 Next to 🏗 Doing in Dev team kanban Feb 9, 2023
@fasmat fasmat moved this from 🏗 Doing to On Hold in Dev team kanban Feb 22, 2023
@pigmej pigmej moved this from On Hold to 🔖 Next in Dev team kanban Mar 8, 2023
@poszu poszu moved this from 🔖 Next to 📋 Backlog in Dev team kanban May 10, 2023
@poszu
Copy link
Collaborator

poszu commented Aug 2, 2023

Reassigning to @fasmat as he is currently redesigning the POST path.

@poszu poszu assigned fasmat and unassigned poszu Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants