Uploaded image for project: 'InsightEdge Platform'
  1. GS-13797

ClassCastException when replicating deleted backlog indicator in global order

    Details

    • Platform:
      All
    • SalesForce Case ID:
      12330
    • Acceptance Test:
      automatic tests
    • Sprint:
    • Product:
      XAP
    • Edition:
      Premium

      Description

      The customer is using drop oldest for the mirror and uses distributed transaction we recommended moving to global order replication in order to avoid delays and memory consumption in the mirror, doing so customer faced following exception:
      Error while replicating packets [[key=65305 deleted backlog indicator, end key=65305]]
      java.lang.ClassCastException: com.gigaspaces.internal.cluster.node.impl.backlog.globalorder.GlobalOrderDeletedBacklogPacket cannot be cast to com.gigaspaces.internal.cluster.node.impl.backlog.globalorder.GlobalOrderDiscardedReplicationPacket
      at com.gigaspaces.internal.cluster.node.impl.processlog.globalorder.GlobalOrderBatchConsumeTargetProcessLog.processPackets(GlobalOrderBatchConsumeTargetProcessLog.java:215)
      at com.gigaspaces.internal.cluster.node.impl.processlog.globalorder.GlobalOrderBatchConsumeTargetProcessLog.processBatch(GlobalOrderBatchConsumeTargetProcessLog.java:118)
      at com.gigaspaces.internal.cluster.node.impl.processlog.globalorder.GlobalOrderBatchConsumeTargetProcessLog.processBatch(GlobalOrderBatchConsumeTargetProcessLog.java:39)
      at com.gigaspaces.internal.cluster.node.impl.groups.AbstractReplicationTargetChannel.processBatch(AbstractReplicationTargetChannel.java:135)
      at com.gigaspaces.internal.cluster.node.impl.groups.AbstractReplicationTargetGroup.processBatch(AbstractReplicationTargetGroup.java:297)
      at com.gigaspaces.internal.cluster.node.impl.packets.BatchReplicatedDataPacket.accept(BatchReplicatedDataPacket.java:49)
      at com.gigaspaces.internal.cluster.node.impl.ReplicationNode.onReplication(ReplicationNode.java:656)
      at com.gigaspaces.internal.cluster.node.impl.router.AbstractConnectionProxyBasedReplicationRouter$ConnectionEndpoint.dispatchAsync(AbstractConnectionProxyBasedReplicationRouter.java:414)
      at com.gigaspaces.internal.cluster.node.impl.router.spacefinder.IReplicationConnectionProxyGigaspacesMethodinternalInvoke2.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:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: