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

CXXCBC-310 LostTxnCleanup wasn't stopping right away #389

Merged
merged 6 commits into from Mar 24, 2023
Merged

Conversation

davidkelly
Copy link
Contributor

When shutting down, for instance, the lost attempt loop would not stop sometimes, leading to issues with tests sometimes. Now, I'm only accessing the running_ bool under the lock, so it is safe to use it in the wait calls as well. Seems to have been an issue, simple fix.

Also - I was creating a client record doc if it was missing, when deleting, which does nothing.

When shutting down, for instance, the lost attempt loop would not stop
sometimes, leading to issues with tests sometimes.  Now, I'm only
accessing the running_ bool under the lock, so it is safe to use it in
the wait calls as well.  Seems to have been an issue, simple fix.

Also - I was creating a client record doc if it was missing, when
deleting.   Seems unnecessary.
@davidkelly davidkelly marked this pull request as ready for review March 22, 2023 00:49
@davidkelly davidkelly requested a review from avsej March 22, 2023 00:49
@avsej avsej merged commit 4a1dea6 into main Mar 24, 2023
12 of 14 checks passed
@avsej avsej deleted the dk/cxxcbc-310_3 branch March 24, 2023 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants