ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamal C <kamaltar...@gmail.com>
Subject How to stop a IgniteService gracefully?
Date Fri, 08 Jul 2016 06:48:12 GMT
Hi,

    I have a 3 node Ignite cluster and deployed a service using Node
Singleton approach. The service started to run in all the 3 nodes.

Whenever a node stopped, the below line gets called as I'm doing resource
cleanups inside *IgniteService.cancel(ServiceContext context)* method.

*Ignition.ignite().services().cancel(serviceName);*

But, it cancels the service from all the nodes. How to cancel a locally
running Ignite service gracefully?

--
Kamal

Mime
View raw message