[
https://issues.apache.org/jira/browse/GEODE-7066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16915953#comment-16915953
]
ASF subversion and git services commented on GEODE-7066:
--------------------------------------------------------
Commit 0c16b1bfe964c122251b6459400dcacb0362062c in geode's branch
refs/heads/develop from Barry Oglesby
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=0c16b1b ]
GEODE-7066: Modified batch conflation to use event id instead of shadow key
> 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
> Affects Versions: 1.9.0
> Reporter: Barry Oglesby
> Assignee: Barry Oglesby
> Priority: Major
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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
(v8.3.2#803003)