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

Ask Your Question

Replication between primary and backup.

When using a partitioned space to back up the primary from my understanding only space will be backed i.e. whatever data i have at the client side will not be available in backup. Like i am incrementing a variable every time my polling container consumes a space document. This variable is not in space. So my question is when the backup will become primary then the variable wont be available in the backup and my count will be lost.

Is my understanding correct ??

asked 2014-09-21 07:59:30 -0600

Harvey gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

Yes. Your local variable data will be lost.You need to store it in the space in this case.See:http://docs.gigaspaces.com/xap100/the-space-counters.html-------- Original message --------From: forum@ask.gigaspaces.org

answered 2014-09-21 08:40:29 -0600

shay hassidim gravatar image
edit flag offensive delete link more

Yes, only the objects in the space exist in the backup node. Your polling and notify container logic will run after the backup becomes a primary, but their state is not replicated.

answered 2014-09-21 15:39:03 -0600

Patrick gravatar image
edit flag offensive delete link more

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: 2014-09-21 07:59:30 -0600

Seen: 68 times

Last updated: Sep 21 '14