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

[FP] TransactionManager improvements #6052

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

josegar74
Copy link
Member

@josegar74 josegar74 commented Nov 22, 2021

Co-authored-by: Jody Garnett [email protected]
Co-authored-by: cmangeat

Related to #5308 committed to 3.12.x branch

Co-authored-by: Jody Garnett <[email protected]>
Co-authored-by: cmangeat
@josegar74 josegar74 added this to the 4.0.6 milestone Nov 22, 2021
Copy link
Contributor

@jodygarnett jodygarnett left a comment

Choose a reason for hiding this comment

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

Thanks Jose this looks good, also confirmed TransactionAspectDoRunInTransactionTest does not change at all (as the API contract has not changed with these improvements).

if ( status == null || status.isCompleted()){
// not calling return here to preserve previous logic
// we can check if the following log messages are seen before taking defensive action
Log.debug( Log.JEEVES,"transactionManager.commit called unexpectedly when transaction is already completed ");
Copy link
Contributor

Choose a reason for hiding this comment

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

I did not want to be agressive with calling out invalid state like this while doing improvements, since this is on master we could change this to a warning or even failure.

@jahow jahow modified the milestones: 4.0.6, 4.0.7 Feb 2, 2022
@fxprunayre fxprunayre modified the milestones: 4.2.0, 4.2.1 May 19, 2022
@fxprunayre fxprunayre modified the milestones: 4.2.1, 4.2.2 Sep 12, 2022
@fxprunayre fxprunayre modified the milestones: 4.2.2, 4.2.3 Dec 8, 2022
@fxprunayre fxprunayre modified the milestones: 4.2.3, 4.2.4 Mar 7, 2023
@fxprunayre fxprunayre modified the milestones: 4.2.4, 4.2.5 May 10, 2023
@fxprunayre fxprunayre modified the milestones: 4.2.5, 4.2.6 Jul 5, 2023
@fxprunayre fxprunayre modified the milestones: 4.2.6, 4.4.1 Oct 4, 2023
@josegar74 josegar74 modified the milestones: 4.4.1, 4.4.2 Nov 22, 2023
@fxprunayre fxprunayre modified the milestones: 4.4.2, 4.4.3 Jan 23, 2024
@fxprunayre fxprunayre modified the milestones: 4.4.3, 4.4.4 Mar 13, 2024
@fxprunayre fxprunayre modified the milestones: 4.4.4, 4.4.5 Apr 16, 2024
@fxprunayre fxprunayre modified the milestones: 4.4.5, 4.4.6 Jun 4, 2024
@fxprunayre fxprunayre modified the milestones: 4.4.6, 4.4.7 Oct 15, 2024
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

5 participants