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

Separate init/destroy and start/stop steps in LLMQ flow #2709

Merged
merged 1 commit into from
Feb 17, 2019

Conversation

UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Feb 16, 2019

Turned out that some changes in #2703 can cause crashes and stale threads because worker thread deals with too many stuff that are outside of CSigSharesManager (and which might be deleted by the time it tries to access them). Also, workInterrupt wasn't handled properly too...

But while debugging this issue I realized that we actually mix init/start and destroy/stop steps a lot in LLMQ, so this PR not only fixes issues mentioned above, but also splits the flow for other (existing) LLMQ modules to avoid similar issues in the future.

@UdjinM6 UdjinM6 added this to the 14.0 milestone Feb 16, 2019
Copy link

@codablock codablock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK and I'll do some testing with this and some other open PRs later today

@codablock
Copy link

@UdjinM6 I assume this will also fix test failures where tests failed at the end when nodes where stopped?

@UdjinM6
Copy link
Author

UdjinM6 commented Feb 17, 2019

@codablock Yep, should fix at least recently introduced ones with 10m timeouts in Travis logs.

@UdjinM6 UdjinM6 merged commit 26db020 into dashpay:develop Feb 17, 2019
@UdjinM6 UdjinM6 deleted the fixworker branch November 26, 2020 11:37
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