Barry Oglesby created GEODE-7066:
------------------------------------

             Summary: Events can be lost in a gateway batch containing 
duplicate non-conflatable events with conflation enabled
                 Key: GEODE-7066
                 URL: https://issues.apache.org/jira/browse/GEODE-7066
             Project: Geode
          Issue Type: Bug
          Components: wan
            Reporter: Barry Oglesby


If a batch contains duplicate CREATE and DESTROY events on key 1736 like below 
and conflation is enabled, the earlier events will be overwritten by the later 
events.
{noformat}
GatewaySenderEventImpl[id=EventID[id=31bytes;threadID=0x30004|6;sequenceID=6072];operation=CREATE;region=/SESSIONS;key=6079],
GatewaySenderEventImpl[id=EventID[id=31bytes;threadID=0x30004|6;sequenceID=6073];operation=UPDATE;region=/SESSIONS;key=6079],
GatewaySenderEventImpl[id=EventID[id=31bytes;threadID=0x30004|5;sequenceID=6009];operation=CREATE;region=/SESSIONS;key=1736],
GatewaySenderEventImpl[id=EventID[id=31bytes;threadID=0x30004|6;sequenceID=6074];operation=DESTROY;region=/SESSIONS;key=6079],
GatewaySenderEventImpl[id=EventID[id=31bytes;threadID=0x30004|5;sequenceID=6011];operation=DESTROY;region=/SESSIONS;key=1736],
GatewaySenderEventImpl[id=EventID[id=31bytes;threadID=0x30004|6;sequenceID=6087];operation=CREATE;region=/SESSIONS;key=1736],
GatewaySenderEventImpl[id=EventID[id=31bytes;threadID=0x30004|6;sequenceID=6089];operation=DESTROY;region=/SESSIONS;key=1736]
{noformat}
The batch will look like this after conflation:
{noformat}
GatewaySenderEventImpl[id=EventID[id=31 
bytes;threadID=0x30004|6;sequenceID=6072];operation=CREATE;region=/SESSIONS;key=6079],
 
GatewaySenderEventImpl[id=EventID[id=31 
bytes;threadID=0x30004|6;sequenceID=6073];operation=UPDATE;region=/SESSIONS;key=6079],
 
GatewaySenderEventImpl[id=EventID[id=31 
bytes;threadID=0x30004|6;sequenceID=6087];operation=CREATE;region=/SESSIONS;key=1736],
 
GatewaySenderEventImpl[id=EventID[id=31 
bytes;threadID=0x30004|6;sequenceID=6074];operation=DESTROY;region=/SESSIONS;key=6079],
 
GatewaySenderEventImpl[id=EventID[id=31 
bytes;threadID=0x30004|6;sequenceID=6089];operation=DESTROY;region=/SESSIONS;key=1736]
{noformat}
All the events from threadID=0x30004|5 are gone.




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to