Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Can NotifyContainer miss events on primary failover?

Using a 2 partition partitioned-sync2backup remote space, so 2 primaries and 2 backups. Lets say I have a NotifyContainer which is listening to the 2 primary partitions through a clustered space proxy.

If one partition fails over will I receive a disconnect notification through the LeaseListener? Or is that only if both primaries become unresponsive?

If I don't receive a disconnect notification, is there a possibility that the listener could miss some events while transitioning to receive events from the backup space?

Thanks, John.

asked 2017-08-24 05:01:11 -0500

jmg's avatar
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Hi, In order to avoid missing events while doing failover the durable notify container can be used. since for durable we keep redolog which is replicated to the backup, Notify container without durable is indeed in risk in failover, but you could get lease expiration notification if failover take long enough.(its depends on the leas time vs the failover time)

Regards, Ester.

answered 2017-08-27 07:56:12 -0500

Ester's avatar
edit flag offensive delete link more


Thanks very much for the response. We'll probably use the Durable Notifications approach.

jmg's avatar jmg  ( 2017-08-28 05:05:27 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-08-24 05:01:11 -0500

Seen: 2,712 times

Last updated: Aug 27 '17