-
Notifications
You must be signed in to change notification settings - Fork 215
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
Node should *not* delete POST files when there is more on a disk than configured #4594
Comments
I just lost 1 TiB post data due to this "feature" - please fix this ASAP! |
See also spacemeshos/post#236 |
It will be addressed with spacemeshos/pm#259 |
This is still happening |
I lost 4TiB today, when will you fix it? |
Post-service implementation will have that fixed, as mentioned #4594 (comment) |
I believe the issue could be resolved in less than 10 minutes; however, it seems there is a lack of willingness to address user concerns promptly. |
Our small development team is very busy focusing on network stability. This is an open source project. Feel free to make the desired change and submit it as a PR here! We're more than happy to review. For the record, if it were a "ten minute change" we would've made it a long time ago. The change is more complex as it ties into the post service work that @pigmej mentioned above. |
This is fully solved with post-service. |
In the situation when there are more post files than node expects node should error and give up, and not delete the files.
That should help not surprise users with "your data is gone because config was wrong".
In the situation when there are too less files, then node should clearly indicate that it will generate more.
There probably should be a flag that would change node behavior:
--do-not-touch-pos
and then it should fail regardless of the found situation on the disk (smaller, bigger etc).The text was updated successfully, but these errors were encountered: