We're updating the issue view to help you get more done. 

Invalid fifo order 2 equal entries from same class after inital load

Description

Fast initial load and afterward transaction that lock fifo objects in parallel blocking operation for same fifo objects will cause commit of the transaction fail with:
Caused by: java.lang.RuntimeException: invalid fifo order 2 equal entries from same class uid1=397232699^14^2^0^0 uid2=397232699^14^1^0^0
at com.j_spaces.core.FifoEntriesComparator.compare(FifoEntriesComparator.java:45)
at com.j_spaces.core.FifoEntriesComparator.compare(FifoEntriesComparator.java:34)
at java.util.TreeMap.put(TreeMap.java:552)
at com.j_spaces.core.server.processor.Processor.handleLockedFifoEntriesOnXtnEnd(Processor.java:1662)
at com.gigaspaces.internal.server.space.SpaceEngine.prepare(SpaceEngine.java:3196)
at com.gigaspaces.internal.server.space.SpaceEngine.prepareAndCommit(SpaceEngine.java:3267)
at com.gigaspaces.internal.server.space.SpaceImpl.prepareAndCommitImpl(SpaceImpl.java:2434)
at com.gigaspaces.internal.server.space.operations.PrepareAndCommitTransactionSpaceOperation.execute(PrepareAndCommitTransactionSpaceOperation.java:34)
at com.gigaspaces.internal.server.space.operations.PrepareAndCommitTransactionSpaceOperation.execute(PrepareAndCommitTransactionSpaceOperation.java:27)
at com.gigaspaces.internal.server.space.operations.SpaceOperationsExecutor.executeOperation(SpaceOperationsExecutor.java:83)
at com.gigaspaces.internal.server.space.SpaceImpl.executeOperation(SpaceImpl.java:1806)
at com.gigaspaces.internal.remoting.RemoteOperationsExecutorGigaspacesMethodinternalInvoke2.internalInvoke(Unknown Source)
at com.gigaspaces.internal.reflection.fast.AbstractMethod.invoke(AbstractMethod.java:45)
at com.gigaspaces.lrmi.LRMIRuntime.invoked(LRMIRuntime.java:441)
at com.gigaspaces.lrmi.nio.Pivot.consumeAndHandleRequest(Pivot.java:494)
at com.gigaspaces.lrmi.nio.Pivot.handleRequest(Pivot.java:572)
at com.gigaspaces.lrmi.nio.Pivot$ChannelEntryTask.run(Pivot.java:173)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

Workaround

None

Acceptance Test

SameFifoAfterInitialLoadTest

Status

Assignee

Unassigned

Reporter

Ester Atzmon

Labels

None

Priority

Medium

SalesForce Case ID

10907

Fix versions

Commitment Version/s

None

Due date

None

Product

None

Edition

None

Platform

All

Sprint

None