geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Shu (JIRA)" <>
Subject [jira] [Created] (GEODE-1621) An IllegalArgumentException can be thrown during TXState cleanup() before resources are released
Date Tue, 05 Jul 2016 21:38:11 GMT
Eric Shu created GEODE-1621:

             Summary: An IllegalArgumentException can be thrown during TXState cleanup() before
resources are released
                 Key: GEODE-1621
             Project: Geode
          Issue Type: Bug
          Components: offheap, transactions
            Reporter: Eric Shu

DLock the transaction holds will be released in the cleanup() call, before releaseing the
offheap resources it held. 

The following exception could be thrown and cause the cleanup() call failed before releasing
offheap resources.

[info 2016/07/05 12:20:08.643 PDT gemfire3_w2-2013-lin-03_19481 <Pooled Waiting Message
Processor 0> tid=0x32] java.lang.IllegalArgumentException: Invalid txLockId not found:
 TXLockId: w2-2013-lin-03(gemfire3_w2-2013-lin-03_19481:19481)<ec><v1>:1025-0
        at com.gemstone.gemfire.internal.cache.locks.TXLockServiceImpl.release(
        at com.gemstone.gemfire.internal.cache.TXLockRequest.releaseDistributed(
        at com.gemstone.gemfire.internal.cache.TXLockRequest.cleanup(
        at com.gemstone.gemfire.internal.cache.TXState.cleanup(
        at com.gemstone.gemfire.internal.cache.TXState.commit(
        at com.gemstone.gemfire.internal.cache.TXStateProxyImpl.commit(
        at com.gemstone.gemfire.internal.cache.TXManagerImpl.commit(
        at com.gemstone.gemfire.internal.cache.TXRemoteCommitMessage.operateOnTx(
        at com.gemstone.gemfire.internal.cache.TXMessage.process(
        at com.gemstone.gemfire.distributed.internal.DistributionMessage.scheduleAction(
        at com.gemstone.gemfire.distributed.internal.DistributionMessage$
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
        at com.gemstone.gemfire.distributed.internal.DistributionManager.runUntilShutdown(
        at com.gemstone.gemfire.distributed.internal.DistributionManager$6$

*** The exception thrown is because the TXLockServices were destroyed during cahce.close()
*** And the newly created TXLockServices does not hold the DLock for the created by the transaction


This message was sent by Atlassian JIRA

View raw message