[JBoss JIRA] (JBTM-2812) Retain a log if a forget call on a resource fails
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2812?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2812.
-------------------------------
> Retain a log if a forget call on a resource fails
> -------------------------------------------------
>
> Key: JBTM-2812
> URL: https://issues.jboss.org/browse/JBTM-2812
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: JTA
> Affects Versions: 5.4.0.Final
> Reporter: Michael Musgrove
> Assignee: Michael Musgrove
> Fix For: 5.4.1.Final
>
>
> When we clear a heuristic from XAResourceRecord we call forget on the resource and then delete the record even if the forget operation fails. The preferred behaviour is to retain the record if the forget fails so that it can be reported via our tooling and so that we still have the option of later retrying the forget operation (also via the tooling).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 11 months
[JBoss JIRA] (JBTM-2813) Cli operation for listing transactions returns not only transactions but participants too - for JTS inflow txn
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2813?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2813.
-------------------------------
> Cli operation for listing transactions returns not only transactions but participants too - for JTS inflow txn
> --------------------------------------------------------------------------------------------------------------
>
> Key: JBTM-2813
> URL: https://issues.jboss.org/browse/JBTM-2813
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: JTS
> Affects Versions: 5.4.0.Final
> Reporter: Ondra Chaloupka
> Assignee: Michael Musgrove
> Fix For: 5.4.1.Final
>
> Attachments: JcaInflowTransactionTestCase_rmerrWithRecovery_jts_server.log, tx-object-store_after-prepare.zip, tx-object-store_after-recover.zip
>
>
> This is a follow-up from JBEAP-6307 where change JBTM-2767 (Allow JTS JCA imported transactions to have clearHeuristic called on their participants) was part of it.
> That seems to bring wrong behavior of cli operation for listing transactions when JTS inflow txn is in use. Currently I do observe that operation [1] lists not only transactions as it should but there are listed participants of transaction as well - what is not expected.
> When inflow transaction is prepared then I can see (the testcase contains only one prepared transaction at the time which consists of two test XAResources)
> {code}
> [standalone@localhost:42042 /] /subsystem=transactions/log-store=log-store:probe()
> {"outcome" => "success"}
> [standalone@localhost:42042 /] /subsystem=transactions/log-store=log-store:read-resource()
> {
> "outcome" => "success",
> "result" => {
> "expose-all-logs" => false,
> "type" => "default",
> "transactions" => {
> "0:ffff7f000001:-f30b80c:58480e0a:2c" => undefined,
> "0:ffff7f000001:-f30b80c:58480e0a:26" => undefined,
> "0:ffff7f000001:-f30b80c:58480e0a:2f" => undefined
> }
> }
> }
> {code}
> My test causes that one participant ends in heuristic state thus recovery is processed only for the second one. After recovery is processed the listing changes to
> {code}
> [standalone@localhost:42042 /] /subsystem=transactions/log-store=log-store:probe()
> {"outcome" => "success"}
> [standalone@localhost:42042 /] /subsystem=transactions/log-store=log-store:read-resource()
> {
> "outcome" => "success",
> "result" => {
> "expose-all-logs" => false,
> "type" => "default",
> "transactions" => {
> "0:ffff7f000001:-f30b80c:58480e0a:26" => undefined,
> "0:ffff7f000001:-f30b80c:58480e0a:2f" => undefined
> }
> }
> }
> {code}
> I'm adding the content of {{tx-object-store}} at both phases and the {{server.log}} as well.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 11 months