Re: graceful shutdown for C++ applications

2021-01-07 Thread Ilya Kasnacheev
Hello! This will happen when this file is deleted while the instance is running. Not sure who deleted it. Maybe you tried to start another node with the same consistent id in the background? You should avoid calling setActive() every time since it will lead to data loss. Regards, -- Ilya

Re: graceful shutdown for C++ applications

2021-01-07 Thread rakshita04
These are the full set of logs, if it helps- [10:10:56,860][WARNING][main][G] Ignite work directory is not provided, automatically resolved to: /home/dsudev/ignite-master/work [10:10:56,873][WARNING][main][G] Consistent ID is not set, it is recommended to set consistent ID for production clusters

Re: graceful shutdown for C++ applications

2021-01-07 Thread rakshita04
I am also getting below error on my ignite logs- [20:00:50,515][SEVERE][db-checkpoint-thread-#54][] Critical system error detected. Will be handled accordingly to configured handler [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0, super=AbstractFailureHandler

Re: graceful shutdown for C++ applications

2021-01-07 Thread Stephen Darlington
It shouldn’t cause a crash, but since you don’t need to activate an already active cluster maybe it’s not well tested. Sending the node a TERM signal (press ^C) is good way to stop a node. > On 7 Jan 2021, at 09:26, rakshita04 wrote: > > can SetActive() cause the crash? > is this way okay to

Re: graceful shutdown for C++ applications

2021-01-07 Thread rakshita04
can SetActive() cause the crash? is this way okay to terminate the process by kill or there is some better way? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: graceful shutdown for C++ applications

2021-01-07 Thread Stephen Darlington
Not that it excuses the crash, but why are you calling activate every time the node starts? It should be called once, the first time all the nodes are present. The cluster will auto-activate every time after that. Regards, Stephen > On 7 Jan 2021, at 08:56, rakshita04 wrote: > > it works,

Re: graceful shutdown for C++ applications

2021-01-07 Thread Wesley Peng
Issuing a command like "kill process_id" doesn't work? regards. On Thu, Jan 7, 2021 at 4:14 PM rakshita04 wrote: > Hi Team, > > We are using apache-ignite for our applications running on 2 machines and > connected over network. > We are facing some issue where if kill is performed on running

graceful shutdown for C++ applications

2021-01-07 Thread rakshita04
Hi Team, We are using apache-ignite for our applications running on 2 machines and connected over network. We are facing some issue where if kill is performed on running application, it somehow corrupts the node and then node never comes up and keep on rebooting. Is there a way to handle this