[
https://issues.apache.org/jira/browse/GEODE-681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16107915#comment-16107915
]
Srikanth Manvi commented on GEODE-681:
--------------------------------------
Hi [~upthewaterspout],
Does this fix take care of a scenario where the event queue size has -ve values
? (I have a case where the value is -3)
> Stopping and restarting a gateway sender results in incorrect event queue size
> ------------------------------------------------------------------------------
>
> Key: GEODE-681
> URL: https://issues.apache.org/jira/browse/GEODE-681
> Project: Geode
> Issue Type: Bug
> Reporter: Dan Smith
> Assignee: Dan Smith
> Fix For: 1.0.0-incubating.M2
>
>
> The gateway sender maintains a stat that tracks the number of queued events
> in there region.
> It does so by reading the number of events in the region after creating the
> queue and incrementing the stat by that number, and by having listeners on
> the region that also update the stat when entries are added or removed.
> Unfortunately, that approach can result in incorrect values for the stat
> because events can be double counted by the listener and the code that reads
> the size of the region.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)