This is the link to the code.
https://github.com/hitansu/ScalableUniqueIdGenerator/tree/master/src/main/java
<https://github.com/hitansu/ScalableUniqueIdGenerator/tree/master/src/main/java>
  

client/IdGeneratorClient.java is the main class.

1. Started server nodes by executing the ignite.bat
2. The IdGeneratorClient.java runs as a client node
3. IdGenTask.java,which is a runnable, generates id

Note: I am not using IgniteRunnable,which I think not necessary as the
AtomicSequnce should run on all the server nodes by default.



--
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-tp7770p7865.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to