geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Kevo <>
Subject Odg: Restart gateway-receiver
Date Fri, 22 Nov 2019 07:15:42 GMT

@Barry Oglesby<>, thanks for the clarification.

If we don't send any event, the connection will be closed after some time as connection is
Is it possible to somehow monitor from the app if the replication is established to get information
if there is a some problem with network or it is just closed due to inactivity?
Can we monitor the replication on some other way than looking "isConnected" state on JMX?

Ċ alje: Barry Oglesby <>
Poslano: 14. studenog 2019. 18:29
Prima: <>
Predmet: Re: Restart gateway-receiver


Thats the current behavior. When the sender is initially started, it
attempts to connect to the receiver. If it does not connect, it won't retry
until there is a batch of events to send. Look for callers of
GatewaySenderEventRemoteDispatcher.initializeConnection to see the
behavior. It could be changed to have a task to retry lost connections, but
generally there are events in the queue, so the connection is
re-established pretty quickly by the event processor thread.

Barry Oglesby

On Wed, Nov 13, 2019 at 4:55 AM Mario Kevo <> wrote:

> Hi geode dev,
> After creating gateways senders and receivers between two geode clusters
> replications is established. After restart gateway receiver, sender will
> not connect to it until we send some entry from sender to receiver.
> Is this a normal behavior or a bug?
> Should geode have some mechanism for checking if connection is established
> no matter if entry is sent or not?
> BR,
> Mario

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message