[jboss-jira] [JBoss JIRA] (WFLY-5590) Shared object store recovery problem
Gytis Trikleris (JIRA)
issues at jboss.org
Wed Nov 4 09:06:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-5590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125398#comment-13125398 ]
Gytis Trikleris commented on WFLY-5590:
---------------------------------------
I found two issues.
Firstly, TestXAResourceRecoveryHelper on server 2 overrides record made by server 1. Changing TEST_XA_RESOURCE_FILE to be unique on each server/resource solves this bit.
Secondly, currentXid in TestXAResourceCommon is null after the recovery. Therefore, JNDI names are identical in any instance of TestXAResourceRecovered. Server 1 commits its test resource and assumes another server's resource to be committed too because of [1]. It then removes transaction records for both servers. After that, test resource on server 2 is rolled back by the orphan filter.
[1] https://issues.jboss.org/browse/JBTM-860
> Shared object store recovery problem
> ------------------------------------
>
> Key: WFLY-5590
> URL: https://issues.jboss.org/browse/WFLY-5590
> Project: WildFly
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 10.0.0.CR3
> Reporter: Hayk Hovsepyan
> Assignee: Gytis Trikleris
> Priority: Critical
> Attachments: Server1.log, Server2.log
>
>
> There is a problem with recovery of crashed transactions on two servers when they share the same object store.
> The server which starts the recovery second, has problems with processing the logs.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list