Bug 841891 - Potential tx lock leaks when nodes are added to the cluster
Summary: Potential tx lock leaks when nodes are added to the cluster
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER6
: 6.1.0
Assignee: Tristan Tarrant
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-20 13:48 UTC by Tristan Tarrant
Modified: 2025-02-10 03:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-02-10 03:20:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-2137 0 Critical Resolved Potential tx lock leaks when nodes are added to the cluster 2015-10-21 14:08:44 UTC

Description Tristan Tarrant 2012-07-20 13:48:35 UTC

Comment 1 mark yarborough 2012-08-22 13:44:22 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
CCFR from mmarkus

Comment 2 Mircea Markus 2012-08-22 14:52:58 UTC
This situation only happens during topology changes and results in certain key remaining locked after a transaction is finished. This means that no other transaction would be able to write the given key as long as they are locked (would be able to read them though). 
ISPN-2137 contains a workaround for recovering from these situation.

Comment 4 JBoss JIRA Server 2012-10-12 17:13:43 UTC
Adrian Nistor <anistor> made a comment on jira ISPN-2137

Integrated.

Comment 5 mark yarborough 2012-11-14 14:42:19 UTC
ttarrant will add jira links as appropriate.

Comment 6 Michal Linhard 2012-12-19 15:15:33 UTC
VERIFIED for 6.1.0.ER6

I've taken test: LockCleanupStateTransferTest (+added it to 5.1.5.FINAL)

and ran it for
5.1.5.FINAL - Failed
5.2.0.Beta6 - Passed

Note:
(the ER6 JAR was taken from MEAD repo - btw not md5sum-same as the JAR in jboss-datagrid-library-6.1.0.ER6.zip)

JAR in jboss-datagrid-library-6.1.0.ER6.zip: b8de37f0bd621246585a4de5939c66de
JAR in repo: a122144dac3b9d3e767389207bf6815a

(I tested both JARs)

The point of failure for 5.1.5.FINAL was here
https://github.com/infinispan/infinispan/blob/master/core/src/test/java/org/infinispan/tx/LockCleanupStateTransferTest.java#L152

Which IMO correspondes to the failing scenario described in ISPN-2137

Comment 11 Red Hat Bugzilla 2025-02-10 03:20:20 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.


Note You need to log in before you can comment on or make changes to this bug.