You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Eric Shu (JIRA)" <ji...@apache.org> on 2019/04/11 23:53:00 UTC
[jira] [Updated] (GEODE-6638) IllegalMonitorStateException could be
thrown during cache close with concurrent committing transactions
[ https://issues.apache.org/jira/browse/GEODE-6638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Shu updated GEODE-6638:
----------------------------
Affects Version/s: 1.1.0
> IllegalMonitorStateException could be thrown during cache close with concurrent committing transactions
> -------------------------------------------------------------------------------------------------------
>
> Key: GEODE-6638
> URL: https://issues.apache.org/jira/browse/GEODE-6638
> Project: Geode
> Issue Type: Bug
> Components: transactions
> Affects Versions: 1.1.0
> Reporter: Eric Shu
> Assignee: Eric Shu
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> This could occur when a client transaction is being committed and locks are hold by a thread. Another thread is concurrently closing the cache and try to release the resources (including the transactions) and could hit this issue.
> java.lang.IllegalMonitorStateException: attempt to unlock read lock, not locked by current thread
> at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.unmatchedUnlockException(ReentrantReadWriteLock.java:444)
> at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryReleaseShared(ReentrantReadWriteLock.java:428)
> at java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(AbstractQueuedSynchronizer.java:1341)
> at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock(ReentrantReadWriteLock.java:881)
> at org.apache.geode.internal.util.concurrent.StoppableReentrantReadWriteLock$StoppableReadLock.unlock(StoppableReentrantReadWriteLock.java:144)
> at org.apache.geode.internal.cache.locks.TXLockServiceImpl.releaseRecoveryReadLock(TXLockServiceImpl.java:270)
> at org.apache.geode.internal.cache.locks.TXLockServiceImpl.release(TXLockServiceImpl.java:237)
> at org.apache.geode.internal.cache.TXLockRequest.releaseDistributed(TXLockRequest.java:109)
> at org.apache.geode.internal.cache.TXLockRequest.cleanup(TXLockRequest.java:142)
> at org.apache.geode.internal.cache.TXState.doCleanup(TXState.java:886)
> at org.apache.geode.internal.cache.TXState.cleanup(TXState.java:872)
> at org.apache.geode.internal.cache.TXState.close(TXState.java:858)
> at org.apache.geode.internal.cache.TXStateProxyImpl.close(TXStateProxyImpl.java:924)
> at org.apache.geode.internal.cache.TXManagerImpl.removeHostedTXStatesForClients(TXManagerImpl.java:1076)
> at org.apache.geode.internal.cache.CacheServerImpl.stop(CacheServerImpl.java:484)
> at org.apache.geode.internal.cache.GemFireCacheImpl.stopServers(GemFireCacheImpl.java:2633)
> at org.apache.geode.internal.cache.GemFireCacheImpl.close(GemFireCacheImpl.java:2213)
> at org.apache.geode.distributed.internal.InternalDistributedSystem.disconnect(InternalDistributedSystem.java:1363)
> at org.apache.geode.distributed.internal.InternalDistributedSystem.disconnect(InternalDistributedSystem.java:1026)
> at hydra.RemoteTestModule$3.run(RemoteTestModule.java:416)
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)