[JBoss JIRA] (JBTM-2821) Improve tooling documentation about clearing heuristics
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2821?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2821.
-------------------------------
> Improve tooling documentation about clearing heuristics
> -------------------------------------------------------
>
> Key: JBTM-2821
> URL: https://issues.jboss.org/browse/JBTM-2821
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: Documentation
> Affects Versions: 5.4.0.Final
> Reporter: Michael Musgrove
> Assignee: Michael Musgrove
> Priority: Minor
> Fix For: 5.4.1.Final
>
>
> The tooling will only allow heuristics to be cleared if the are of type heuristic mixed or heuristic hazard. This is because for the other types (heuristic rollaback./commit) it is too late to reattempt commit. The documentation should clarify that this is the behaviour of the clearHeuristic operation.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 2 months
[JBoss JIRA] (JBTM-2819) Recover operation does not work for participant of JCA type transactions
by Michael Musgrove (JIRA)
[ https://issues.jboss.org/browse/JBTM-2819?page=com.atlassian.jira.plugin.... ]
Michael Musgrove commented on JBTM-2819:
----------------------------------------
[~ochaloup] Although I have rejected the issue I have not ignored your question in the above comment. I will provide an update after I have investigated.
> Recover operation does not work for participant of JCA type transactions
> ------------------------------------------------------------------------
>
> Key: JBTM-2819
> URL: https://issues.jboss.org/browse/JBTM-2819
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Affects Versions: 5.4.0.Final
> Reporter: Ondra Chaloupka
> Assignee: Michael Musgrove
> Attachments: heuristic-rollback-objectstore.zip
>
>
> Jboss cli {{:recover}} operation does not work when having JCA type transaction. My test shows following
> {code}
> [standalone@localhost:9990 /] /subsystem=transactions/log-store=log-store:probe
> {"outcome" => "success"}
> [standalone@localhost:9990 /] /subsystem=transactions/log-store=log-store:read-resource(recursive=true)
> {
> "outcome" => "success",
> "result" => {
> "expose-all-logs" => false,
> "type" => "default",
> "transactions" => {
> "0:ffff7f000001:-4cecb39b:585109e2:31" => {
> "age-in-seconds" => undefined,
> "id" => "0:ffff7f000001:-4cecb39b:585109e2:31",
> "jmx-name" => undefined,
> "type" => "CosTransactions/XAResourceRecord",
> "participants" => undefined
> },
> "0:ffff7f000001:-4cecb39b:585109e2:28" => {
> "age-in-seconds" => "1481798762",
> "id" => "0:ffff7f000001:-4cecb39b:585109e2:28",
> "jmx-name" => undefined,
> "type" => "StateManager/BasicAction/TwoPhaseCoordinator/ArjunaTransactionImple/ServerTransaction/JCA",
> "participants" => {"0:ffff7f000001:-4cecb39b:585109e2:31" => {
> "eis-product-name" => "unavailable",
> "eis-product-version" => "unavailable",
> "jmx-name" => undefined,
> "jndi-name" => "0:ffff7f000001:-4cecb39b:585109e2:31",
> "status" => "HEURISTIC_ROLLBACK",
> "type" => "/StateManager/AbstractRecord/ExtendedResourceRecord"
> }}
> }
> }
> }
> }
> [standalone@localhost:9990 /] /subsystem=transactions/log-store=log-store/transactions=0\:ffff7f000001\:-4cecb39b\:585109e2\:28/participants=0\:ffff7f000001\:-4cecb39b\:585109e2\:31:recover
> {"outcome" => "success"}
> [standalone@localhost:9990 /] /subsystem=transactions/log-store=log-store/transactions=0\:ffff7f000001\:-4cecb39b\:585109e2\:28/participants=0\:ffff7f000001\:-4cecb39b\:585109e2\:31:read-resource
> {
> "outcome" => "success",
> "result" => {
> "eis-product-name" => "unavailable",
> "eis-product-version" => "unavailable",
> "jmx-name" => undefined,
> "jndi-name" => "0:ffff7f000001:-4cecb39b:585109e2:31",
> "status" => "HEURISTIC_ROLLBACK",
> "type" => "/StateManager/AbstractRecord/ExtendedResourceRecord"
> }
> }
> {code}
> I expect that {{:recover}} put the participant to {{PREPARED}} state and at that point RAR {{XATerminator.commit}} could commit such participant.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 2 months
[JBoss JIRA] (JBTM-2782) XTS crash recovery test Byteman rules use wrong variable types
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2782?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-2782:
--------------------------------
Issue Type: Task (was: Bug)
> XTS crash recovery test Byteman rules use wrong variable types
> --------------------------------------------------------------
>
> Key: JBTM-2782
> URL: https://issues.jboss.org/browse/JBTM-2782
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: XTS
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 5.next
>
>
> After updating Byteman as part of the compensations recovery work, XTS tests started to fail Byteman type check:
> {code}
> [INFO] --- byteman-rulecheck-maven-plugin:3.0.6:rulecheck (rulecheck) @ localjunit-crash-recovery-tests ---
> [INFO] Checking 11 byteman scripts in /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes
> [ERROR] Checking byteman script rules failed with 23 errors
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATCrashDuringCommit.btm line 322 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATHeuristicRecoveryAfterDelayedCommit.btm line 326 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace heuristic committed replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATHeuristicRecoveryAfterDelayedCommit.btm line 346 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATSubordinateCrashDuringCommit.btm line 543 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace subordinate prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATSubordinateCrashDuringCommit.btm line 564 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATSubordinateCrashDuringPrepare.btm line 614 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace subordinate prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATSubordinateCrashDuringPrepare.btm line 634 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace coordinator completion complete" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 490 against method complete() com.arjuna.webservices11.wsba.State
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 491
> [ERROR] ERROR : Failed to type check rule "trace participant completion completed" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 507 against method completed(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType,org.jboss.ws.api.addressing.MAP,com.arjuna.webservices11.wsarj.ArjunaContext) void
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 508
> [ERROR] ERROR : Failed to type check rule "trace coordinator completion completed" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 524 against method completed(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType,org.jboss.ws.api.addressing.MAP,com.arjuna.webservices11.wsarj.ArjunaContext) void
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 525
> [ERROR] ERROR : Failed to type check rule "trace participant completion exit" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 541 against method exit(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType,org.jboss.ws.api.addressing.MAP,com.arjuna.webservices11.wsarj.ArjunaContext) void
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 542
> [ERROR] ERROR : Failed to type check rule "trace coordinator completion exit" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 558 against method exit(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType,org.jboss.ws.api.addressing.MAP,com.arjuna.webservices11.wsarj.ArjunaContext) void
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 559
> [ERROR] ERROR : Failed to type check rule "trace participant completion close" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 615 against method close() com.arjuna.webservices11.wsba.State
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 616
> [ERROR] ERROR : Failed to type check rule "trace coordinator completion close" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 633 against method close() com.arjuna.webservices11.wsba.State
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 634
> [ERROR] ERROR : Failed to type check rule "trace participant completion closed" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 650 against method closed(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType,org.jboss.ws.api.addressing.MAP,com.arjuna.webservices11.wsarj.ArjunaContext) void
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 651
> [ERROR] ERROR : Failed to type check rule "trace coordinator completion closed" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 667 against method closed(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType,org.jboss.ws.api.addressing.MAP,com.arjuna.webservices11.wsarj.ArjunaContext) void
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 668
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 685 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BASubordinateCrashDuringCommit.btm line 911 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace subordinate prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BASubordinateCrashDuringCommit.btm line 931 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BASubordinateCrashDuringCommitAfterSubordinateExit.btm line 944 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace subordinate prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BASubordinateCrashDuringCommitAfterSubordinateExit.btm line 963 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BASubordinateCrashDuringComplete.btm line 1017 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace subordinate prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BASubordinateCrashDuringComplete.btm line 1037 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 2 months
[JBoss JIRA] (JBTM-2821) Improve tooling documentation about clearing heuristics
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2821?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-2821:
--------------------------------
Issue Type: Task (was: Enhancement)
> Improve tooling documentation about clearing heuristics
> -------------------------------------------------------
>
> Key: JBTM-2821
> URL: https://issues.jboss.org/browse/JBTM-2821
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: Documentation
> Affects Versions: 5.4.0.Final
> Reporter: Michael Musgrove
> Assignee: Michael Musgrove
> Priority: Minor
> Fix For: 5.next
>
>
> The tooling will only allow heuristics to be cleared if the are of type heuristic mixed or heuristic hazard. This is because for the other types (heuristic rollaback./commit) it is too late to reattempt commit. The documentation should clarify that this is the behaviour of the clearHeuristic operation.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 2 months