[JBoss JIRA] (JBTM-2981) Transactional annotation on per method basis?
by Mark Little (JIRA)
Mark Little created JBTM-2981:
---------------------------------
Summary: Transactional annotation on per method basis?
Key: JBTM-2981
URL: https://issues.jboss.org/browse/JBTM-2981
Project: JBoss Transaction Manager
Issue Type: Feature Request
Components: STM
Reporter: Mark Little
Assignee: Mark Little
Similar to TransactionFree, do we need a method-level annotation that says "create transaction" regardless? We have class-specific annotations.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (JBTM-2979) Timeout leaves LRA active and able to complete
by Nicola Ferraro (JIRA)
Nicola Ferraro created JBTM-2979:
------------------------------------
Summary: Timeout leaves LRA active and able to complete
Key: JBTM-2979
URL: https://issues.jboss.org/browse/JBTM-2979
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.7.1.Final
Reporter: Nicola Ferraro
Assignee: Michael Musgrove
If a participant declares a timeout, the coordinator calls its "/compensate" endpoint when the timeout expires. But the LRA remains active and it may be possibly closed, leading to a second call to "/complete" on the participant, even if he has already compensated.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (JBTM-2978) Compensation should not be considered done in case of network error
by Nicola Ferraro (JIRA)
Nicola Ferraro created JBTM-2978:
------------------------------------
Summary: Compensation should not be considered done in case of network error
Key: JBTM-2978
URL: https://issues.jboss.org/browse/JBTM-2978
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.7.1.Final
Reporter: Nicola Ferraro
Assignee: Michael Musgrove
In case of network error on the call to "/compensate" made by the coordinator to the participant, the LRA is considered compensated, hence the compensate action is not retried again. This is not the expected behavior.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years
[JBoss JIRA] (JBTM-2977) Participants should not be told to compensate after completion
by Nicola Ferraro (JIRA)
Nicola Ferraro created JBTM-2977:
------------------------------------
Summary: Participants should not be told to compensate after completion
Key: JBTM-2977
URL: https://issues.jboss.org/browse/JBTM-2977
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.7.1.Final
Reporter: Nicola Ferraro
Assignee: Michael Musgrove
When a LRA is closed the coordinator behaves incorrectly if a participant is slow to respond.
While the call to "/complete" is still ongoing, the coordinator (recovery module) may issue a second call to "/compensate", making it impossible for the participant to determine when a LRA is really closed.
The LRA coordinator must choose a single outcome for the LRA and be consistent with that (retrying until all participants are in status complete/failedtocomplete in this case).
A second minor problem is that the call to "/close" is synchronous, and the caller is kept attached forever if the participant does not respond to "/complete". It would be better to establish a timeout and return a "Completing" status if not all participant are done in time.
I attach few simple steps to reproduce it with shell commands.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years