]
Radoslav Husar closed JBCACHE-1620.
-----------------------------------
Verified, closing.
Race condition when automatically creating parent nodes during
locking fails to get lock
----------------------------------------------------------------------------------------
Key: JBCACHE-1620
URL:
https://issues.jboss.org/browse/JBCACHE-1620
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Locking
Affects Versions: 3.2.9.GA
Reporter: Dennis Reed
Assignee: Dennis Reed
Attachments: JBCACHE-1620-test.zip
Bug/race condition in PessimisticUnversionedNode#addChildAndAcquireLock.
If two threads try to create the same node at the exact same time, one thread creates it
and gets a write lock.
The other thread does not create a node, but returns the previously created node and does
not lock it.
The only caller PessimisticNodeBasedLockManager assumes the node was both created and
locked after the call returns.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: