Bug 1155692 - Locks acquired before a partition will never be released
Summary: Locks acquired before a partition will never be released
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ER3
: 6.4.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-22 16:01 UTC by Dan Berindei
Modified: 2025-02-10 03:43 UTC (History)
1 user (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-4693 0 Major Resolved Locks acquired before a partition will never be released 2016-08-31 02:48:41 UTC

Description Dan Berindei 2014-10-22 16:01:33 UTC
Consider the following case:

1. A prepares a transaction for key K on nodes B and C. 
2. The primary owner B acquires and registers this lock.
3. The cluster partitions and A,C remain in partition one, and B in a separate partition.
4. The transaction rolls back. However, since B left the cluster, the rollback will not be sent to B.
5. B rejoins the cluster. It still has a lock acquired for key K.

This can lead to a lock being acquired indefinitely.

Comment 2 Sebastian Łaskawiec 2014-10-24 11:50:15 UTC
PR: https://github.com/infinispan/jdg/pull/304

Comment 4 Dan Berindei 2015-10-27 09:25:46 UTC
Yes, it's in 6.4.0.GA

Comment 9 Red Hat Bugzilla 2025-02-10 03:43:22 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.