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

Ask Your Question
0

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 -0600

jmg gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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 -0600

Ester gravatar image
edit flag offensive delete link more

Comments

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

jmg gravatar imagejmg ( 2017-08-28 05:05:27 -0600 )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

Stats

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

Seen: 887 times

Last updated: Aug 27