[
https://issues.apache.org/jira/browse/GEODE-6954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16896312#comment-16896312
]
ASF subversion and git services commented on GEODE-6954:
--------------------------------------------------------
Commit b6f9c80b5141014be16c0ddeb7129687054d1182 in geode's branch
refs/heads/develop from mkevo
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=b6f9c80 ]
GEODE-6954 Update dispatcher in JMX after receiver restart (#3826)
- Empty commit to re-launch CI
- Refactor code due to comments
> GatewaySenderMXBean wrongly reports state
> -----------------------------------------
>
> Key: GEODE-6954
> URL: https://issues.apache.org/jira/browse/GEODE-6954
> Project: Geode
> Issue Type: Bug
> Components: jmx, wan
> Reporter: Mario Kevo
> Assignee: Mario Kevo
> Priority: Major
> Labels: needs-review, pull-request-available
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> After creating gateways senders and receivers between two geode clusters
> replications is established. After restart gateway receiver, _list gateways_
> command shows that everything is connected and replication works.
> But when checking gateway sender state over JMX with GatewaySenderMXBean and
> checking _isConnected()_ I got _false,_ but should be _true_ as it is
> connected.
> Steps to reproduce issue:
> # create two sites
> ([geode-examples/wan|https://github.com/apache/geode-examples/tree/master/wan])
> # check GW sender stats with jconsole (Connected = *true*)
> # stop GW receiver on the remote site (Connected = *false*)
> # put some entry (it will be in the queue waiting for connection)
> # start GW receiver on the remote site (Connected = *false*)
> # replication is established, the event is processed to the remote site
> (Connected = *{color:#d04437}false{color}*, should be
> {color:#8eb021}*true*{color})
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)