History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: UP-1451
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Brad Johnson
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
uPortal

RDBMDistributedLayoutStore locking doesn't lock

Created: 02/Mar/06 12:21 PM   Updated: 25/Sep/06 10:56 AM
Component/s: Distributed Layout Management (DLM)
Affects Version/s: 2.5.1 GA, 2.5.3 RC1, 2.5.3 RC2, 2.5.3 RC3, 2.5.3 GA
Fix Version/s: 2.5.4

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Generic Relation
This issue relates to:
UP-1449 RDBMDistributedLayoutStore should use... Minor Closed
 


 Description  « Hide
In the following code:
Map mLock
getReadWriteLock()
acquireReadLock()
releaseReadLock()

This code never actually locks with a write lock . So, I don't think the ReadWriteLock has any effect.

From the javadoc "A ReadWriteLock maintains a pair of associated locks, one for read-only operations and one for writing. The read lock may be held simultaneously by multiple reader threads, so long as there are no writers. "

 All   Comments   Work Log   Change History   FishEye      Sort Order:
Warren Liang [16/May/06 08:13 PM]
A race condition may occur if multiple threads are creating the layout doc for the same user

http://www.ja-sig.org/issues/browse/UP-1487