[
https://issues.apache.org/jira/browse/GEODE-5922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17260024#comment-17260024
]
ASF subversion and git services commented on GEODE-5922:
--------------------------------------------------------
Commit ec2d79ebfd0b85fc90203c3c114c4b3eec37602f in geode's branch
refs/heads/support/1.12 from Bruce Schuchardt
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=ec2d79e ]
GEODE-5922: concurrency problems in SerialGatewaySenderQueue (#5870)
reverting 3ed37a754d789bb52cf190db23088e819955fd58
(cherry picked from commit ab16f68c7c3b121af00c3aca64a92d9809cb6019)
> SerialGatewaySenderQueue concurrency is poorly implemented
> ----------------------------------------------------------
>
> Key: GEODE-5922
> URL: https://issues.apache.org/jira/browse/GEODE-5922
> Project: Geode
> Issue Type: Improvement
> Components: wan
> Reporter: Bruce J Schuchardt
> Assignee: Bruce J Schuchardt
> Priority: Major
> Labels: blocks-1.14.0, pull-request-available
> Fix For: 1.8.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> This class uses synchronization on the queue to limit access to one put at a
> time. Synchronization isn't a fair locking mechanism so threads can be
> blocked trying to add events to the queue while other more recent events get
> the lock and insert their events. This causes inconsistent latency which
> I've observed being as long as 30 seconds, causing client connections to be
> shut down by the ClientHealthMonitor.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)