deepa...@gmail.com
unread,Oct 12, 2011, 3:37:44 PM10/12/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ATG_Tech
There was a scenario where the search config repository of two
environments were pointing to same DB. The lock issue came up when we
triggered search indexing from both environments simultaneously. A
snippet from thread dump is as follows:
Thread 24467: (state = BLOCKED)
- java.lang.Object.wait(long) @bci=0 (Interpreted frame)
-
atg.service.lockmanager.ClientLockEntry.acquireWriteLock(atg.service.lockmanager.ClientLockManager,
java.lang.Object, java.lang.Object, long, boolean) @bci=264, line=399
(Interpreted frame)
-
atg.service.lockmanager.ClientLockManager.acquireWriteLock(java.io.Serializable,
java.lang.Object) @bci=118, line=1137 (Interpreted frame)
-
atg.repository.search.indexing.ConfigStatePersister.acquireLock(java.lang.Thread,
boolean) @bci=11, line=1399 (Interpreted frame)
- atg.repository.search.indexing.ConfigStatePersister
$IndexingReadLockedTransactionAction.doWithTransaction
Whats the best way to release the locks ?