Bug 1378877 - [GSS](6.4.z) Lock acquired forever with delayed PrepareCommand
Summary: [GSS](6.4.z) Lock acquired forever with delayed PrepareCommand
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Infinispan
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: CR1
: EAP 6.4.13
Assignee: Petr Jurak
QA Contact:
URL:
Whiteboard:
Depends On: 1378875
Blocks: eap6413-payload 1389108
TreeView+ depends on / blocked
 
Reported: 2016-09-23 12:33 UTC by Tom Ross
Modified: 2020-03-11 15:15 UTC (History)
11 users (show)

Fixed In Version:
Clone Of: 1378875
Environment:
Last Closed: 2017-02-03 16:42:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-4131 0 Critical Resolved Lock acquired forever with delayed PrepareCommand 2017-05-31 13:22:46 UTC

Description Tom Ross 2016-09-23 12:33:55 UTC
Distributed transactional cache:

1. A sends Prepare to B
2. B receives Prepare, but due to ongoing ST it is blocked
3. B replication timeout elapses
4. B sends Rollback, this does not find the TX as Prepare was not executed yet. The transaction is put into completedTransactions.
5. Completed transactions timeout elapses. This is by default 15 seconds, way shorter than ST timeout (due to which the Prepare was blocked)
6. Prepare is executed on B, acquiring lock on K

Nobody will rollback the TX as originator thinks it was already rolled back.
Result: key K will be locked forever, all attempts to update/remove it will fail.

Comment 4 Jiří Bílek 2016-12-07 15:41:20 UTC
Tom, could you please provide some reproducer for this?

Comment 5 Radovan STANCEL 2016-12-07 17:18:44 UTC
This issue has no EAP 7.0 and 7.1 related JIRAs because in the time when it was merged into master, there were no 7.x branch. So no, they automatically contains this fix

Comment 7 Jiří Bílek 2017-01-12 09:23:54 UTC
Verified with EAP 6.4.13.CP.CR2

Comment 8 Petr Penicka 2017-02-03 16:42:15 UTC
Released with EAP 6.4.13 on Feb 02 2017.


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