[jbossts-issues] [JBoss JIRA] (JBTM-2896) Invalid warning when committing STM optimistic records
Michael Musgrove (JIRA)
issues at jboss.org
Mon May 8 10:40:00 EDT 2017
[ https://issues.jboss.org/browse/JBTM-2896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Issue was automatically transitioned when Michael Musgrove created pull request #1177 in GitHub
-----------------------------------------------------------------------------------------------
Status: Pull Request Sent (was: Open)
> Invalid warning when committing STM optimistic records
> ------------------------------------------------------
>
> Key: JBTM-2896
> URL: https://issues.jboss.org/browse/JBTM-2896
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: STM
> Affects Versions: 5.5.24.Final
> Reporter: Michael Musgrove
> Assignee: Michael Musgrove
> Fix For: 5.next
>
>
> There is some code in OptimisticLockRecord#topLevelCommit that generates an invalid warning
> bq. WARN: ARJUNA015051: OptimisticLockRecord.topLevelCommit state check failed for org.jboss.stm.internal.proxy.OptimisticLockManagerProxy at 7f058cfa will force rollback.
> when in fact there is no rollback. The offending code is:
> {code}
> public int topLevelCommit ()
> {
> boolean stateOK = checkState();
>
> if (stateOK)
> {
> txojLogger.i18NLogger.warn_OptimisticLockRecord_2((LockManager) value());
> }
> {code}
> The condition was intended to be if (!stateOK)
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbossts-issues
mailing list