[ 
https://issues.apache.org/jira/browse/GEODE-681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15115630#comment-15115630
 ] 

ASF subversion and git services commented on GEODE-681:
-------------------------------------------------------

Commit 94835c6795a5b362fc23ca6e5396c039a84b947d in incubator-geode's branch 
refs/heads/feature/GEODE-819 from [~upthewaterspout]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=94835c6 ]

GEODE-681: Moving ParallelGatewaySenderQueueJUnitTest to test

This file was accidentally added to the src/main instead of src/test


> 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
>
> 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.3.4#6332)

Reply via email to