Dear guru,
I am using JTA with Gemfire itself as transaction coordinator (to synchronize changes with database) and is experiencing problems creating indexes for transactional replicated regions. With default (synchronous) update behavior I am getting the following exception during index update distribution (I guess):
com.gemstone.gemfire.cache.query.IndexMaintenanceException: com.gemstone.gemfire.cache.query.internal.index.IMQException, caused by com.gemstone.gemfi
re.cache.query.internal.index.IMQException
at com.gemstone.gemfire.internal.cache.LocalRegion.txApplyPutPart2(LocalRegion.java:5052)
at com.gemstone.gemfire.internal.cache.AbstractRegionMap.txApplyPut(AbstractRegionMap.java:3542)
at com.gemstone.gemfire.internal.cache.LocalRegion.txApplyPut(LocalRegion.java:5020)
at com.gemstone.gemfire.internal.cache.TXCommitMessage$RegionCommit.txApplyEntryOp(TXCommitMessage.java:1296)
at com.gemstone.gemfire.internal.cache.TXCommitMessage$RegionCommit$FarSideEntryOp.process(TXCommitMessage.java:1566)
at com.gemstone.gemfire.internal.cache.TXCommitMessage.basicProcessOps(TXCommitMessage.java:719)
at com.gemstone.gemfire.internal.cache.TXCommitMessage.basicProcess(TXCommitMessage.java:655)
at com.gemstone.gemfire.internal.cache.TXCommitMessage$CommitProcessMessage.basicProcess(TXCommitMessage.java:1737)
at com.gemstone.gemfire.internal.cache.TXCommitMessage$CommitProcessForLockIdMessage.process(TXCommitMessage.java:1657)
at com.gemstone.gemfire.distributed.internal.DistributionMessage.scheduleAction(DistributionMessage.java:303)
at com.gemstone.gemfire.distributed.internal.DistributionMessage$1.run(DistributionMessage.java:366)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at com.gemstone.gemfire.distributed.internal.DistributionManager.runUntilShutdown(DistributionManager.java:692)
at com.gemstone.gemfire.distributed.internal.DistributionManager$4$1.run(DistributionManager.java:963)
at java.lang.Thread.run(Thread.java:724)
on the second node the following error message is shown:
[error 2013/12/16 17:41:39.623 GMT+04:00 <Pooled Message Processor 1> tid=0x29] Transaction message TXCommitMessage@965124996#0 processorId=50 txId=T
XId: V-LOTAREV<v36>:13513:9 farSiders=<null> /CabinReserves from sender V-LOTAREV<v36>:13513 failed processing, unknown transaction state: com.gemston
e.gemfire.cache.query.IndexMaintenanceException: com.gemstone.gemfire.cache.query.internal.index.IMQException, caused by com.gemstone.gemfire.cache.qu
ery.internal.index.IMQException
When index update type is changed to asynchronous than this error disappears. Could you please tell me what could be a reason for that?
Thanks in advance,