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

Resolve #8696 #8845

Merged
merged 8 commits into from May 22, 2024
Merged

Resolve #8696 #8845

merged 8 commits into from May 22, 2024

Conversation

BijenderKumar1
Copy link
Contributor

@BijenderKumar1 BijenderKumar1 commented May 11, 2024

This PR resolves #8696, which happens as the journal reset does not happen accurately, and instead empties the journal. I resolved this issue with the prepareJournalReset function.

I tested using the same code provided in the issue #8696, and it no longer hangs.
Thanks!

/claim #8696

@CLAassistant
Copy link

CLAassistant commented May 11, 2024

CLA assistant check
All committers have signed the CLA.

@algora-pbc algora-pbc bot mentioned this pull request May 11, 2024
Copy link

algora-pbc bot commented May 11, 2024

💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe/Alipay.

@guizmaii
Copy link
Member

@BijenderKumar1 Could you add some tests, please?

@BijenderKumar1
Copy link
Contributor Author

@guizmaii @hearnadam I have added a new test to make sure that the variable changes on the LHS of an orElse construct, trigger a retry. I have also made sure that all the existing tests pass. Thanks!

@BijenderKumar1
Copy link
Contributor Author

@jdegoes @hearnadam Just a gentle reminder! Thanks!

@BijenderKumar1
Copy link
Contributor Author

BijenderKumar1 commented May 21, 2024

@jdegoes @hearnadam Just a gentle reminder to review this. Sorry to bother you.
Thanks!

@BijenderKumar1
Copy link
Contributor Author

@jdegoes Thanks for approving the changes. Just a gentle reminder to please merge the PR as well, if possible? Thanks! 🙏

@jdegoes jdegoes merged commit 3004fb2 into zio:series/2.x May 22, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

STM retry/orElse semantics
5 participants