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

fix(node): terminate make_payment process during unrecoverable error #2023

Merged

Conversation

maqi
Copy link
Member

@maqi maqi commented Aug 5, 2024

Description

This is aim to avoid corrupt the wallet when hit the unrecoverable error, the main upload process will forcefuly terminate the entire thread, but the child make_payment process might continue with the wallet processing that go to the next descendant spend.
Which actually causing un-recoverable DAG that observed in some of the uploaders.

Related Issue

Fixes #<issue_number> (if applicable).

Type of Change

Please mark the types of changes made in this pull request.

  • Bug fix (non-breaking change which fixes an issue)

@RolandSherwin RolandSherwin enabled auto-merge August 5, 2024 08:51
@RolandSherwin RolandSherwin force-pushed the upload_un-recoverable_error_during_make_payment branch from 04bba90 to 492f50d Compare August 5, 2024 12:51
@RolandSherwin RolandSherwin added this pull request to the merge queue Aug 5, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 5, 2024
@maqi maqi enabled auto-merge August 5, 2024 14:16
@maqi maqi added this pull request to the merge queue Aug 5, 2024
Merged via the queue into maidsafe:main with commit 5200a00 Aug 5, 2024
41 checks passed
@maqi maqi deleted the upload_un-recoverable_error_during_make_payment branch August 5, 2024 14:59
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

Successfully merging this pull request may close these issues.

2 participants