[
https://issues.apache.org/jira/browse/GEODE-6954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mario Kevo updated GEODE-6954:
------------------------------
Labels: needs-review pull-request-available (was: )
> 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: 10m
> 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)