hitansu wrote
> For my poc I created a cluster of 3 nodes by executing the ignite.bat file
> 3 times.I run the java program as a client to generate sequence id.In the
> middle I shut down one server node.The sequence id generation threw
> NullpointerException.I observed that if the first server node is stopped
> then only this problem is coming.
> This means the atomic sequence is not being executed in all the server
> nodes.

You should add backups for atomic structures to make sure you're not losing
the data in case of failures:

AtomicConfiguration atomicCfg = new AtomicConfiguration();
atomicCfg.setBackups(1);
Ignition.start(new IgniteConfiguration().setAtomicConfiguration(atomicCfg));

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/AtomicSequence-not-working-when-shutting-down-one-server-node-from-a-cluster-tp7770p7782.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to