atomikos / transactions-essentials

Development repository for next major release of
https://www.atomikos.com/Main/TransactionsEssentials
Other
461 stars 139 forks source link

feat: retry for log lock acquiring #188

Closed klopfdreh closed 7 months ago

klopfdreh commented 1 year ago

Fixes: https://github.com/atomikos/transactions-essentials/issues/189

sonatype-lift[bot] commented 1 year ago

Sonatype Lift is retiring

Sonatype Lift will be retiring on Sep 12, 2023, with its analysis stopping on Aug 12, 2023. We understand that this news may come as a disappointment, and Sonatype is committed to helping you transition off it seamlessly. If you’d like to retain your data, please export your issues from the web console. We are extremely grateful and thank you for your support over the years.

📖 Read about the impacts and timeline

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

klopfdreh commented 1 year ago

Next things to do if this PR is desirable:

joshuapullin commented 1 year ago

@GuyPardon will this fix be added to the next transactions-essentials release?

GuyPardon commented 1 year ago

@joshuapullin Most likely yes, but can you motivate the reason for retrying? What scenario made it fail before?

Thanks!

klopfdreh commented 1 year ago

I linked the issue with the explanation in the description of this PR.

GuyPardon commented 7 months ago

Integrated for TransactionsEssentials 6.0.1 - with modifications to fit our design direction in the API. Thanks for the good work!

klopfdreh commented 7 months ago

@GuyPardon - I can’t see the changes in the master branch - I hope that there was no issue while integrating the changes.

Note: We saw some race conditions that lead to a StackOverflow. Can you check if all is working properly after integrating my changes and adjusting it to your requirments?

GuyPardon commented 7 months ago

I pushed the changes just now (to GitHub).

So far no issues detected here - would be great if you could test too.

Note: the names of the new properties have changed slightly. See the ConfigProperties class.

klopfdreh commented 7 months ago

Great thanks a lot - I am going to check out and do some retesting. 👍

klopfdreh commented 7 months ago

As promised here are the changes to fix the stack overflow (and an explanation): https://github.com/atomikos/transactions-essentials/pull/207