Bug 1366939 - [GSS] (6.4.z) SharedLocalYieldingClusterLockManager pauses with multiple remote lockers
Summary: [GSS] (6.4.z) SharedLocalYieldingClusterLockManager pauses with multiple remo...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering
Version: 6.4.6
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: CR1
: EAP 6.4.11
Assignee: Radoslav Husar
QA Contact: Michal Vinkler
URL:
Whiteboard:
Depends On:
Blocks: 1368280 1370648 eap6411-payload
TreeView+ depends on / blocked
 
Reported: 2016-08-15 05:11 UTC by dereed
Modified: 2019-12-16 06:21 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-17 13:07:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
bz1366939-test.patch (3.61 KB, application/octet-stream)
2016-08-15 05:13 UTC, dereed
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1233400 0 high CLOSED [GSS](6.4.z) Using Infinispan in Distribution Mode for JBossWeb breaks session stickiness 2021-06-10 10:55:26 UTC

Internal Links: 1233400

Description dereed 2016-08-15 05:11:00 UTC
When more than one remote locker is waiting on a local lock,
only the first is notified when the lock is released.  The
rest wait their full timeout before (successfully) returning.

Comment 1 dereed 2016-08-15 05:13:28 UTC
Created attachment 1190788 [details]
bz1366939-test.patch

Test case that demonstrates issue.

Comment 2 dereed 2016-08-15 05:24:03 UTC
The main issue is that unlock only wakes up one waiter:

    LockSupport.unpark(waiters.peek());

But LocalLock.lockForRemoteNode/ClusterHandler.lockFromCluster also only let one waiter at a time take the lock (which is then removed).

Comment 6 Jiří Bílek 2016-10-05 08:57:27 UTC
Verified with EAP 6.4.11.CP.CR1

Comment 7 Petr Penicka 2017-01-17 13:07:38 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.


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