NCache 4.6 - Online Documentation

Graceful Node Down

 
With client operations, there are many operations that are performed in the background of cluster cache. When any server node in cluster cache is stopped, all those background operations are lost which results in data loss. To avoid operation loss, you should always ensure your node goes down gracefully. Server nodes are not stopped until all background operations are completed or graceful down time out has elapsed.
 
If any task takes a longer time than its shut down timeout like in Write-Behind, database transactions can take longer than the expected time. Then the count of remaining operations will be written in cache server logs, but those operations will be lost.
 
Configurable time outs: Shutdown timeouts are configurable by adding the following tags to NCache's server.properties file:
 
  • CacheServer.GracefulShutdownTimeout: Total timeout of graceful shutdown. Default is 180 seconds.
  • CacheServer.BlockingActivityTimeout: Timeout of wait for operations completion which are started before blocking activity. ┬áDefault is 3 seconds.
 
However, you can modify the shutdown timeouts according to your needs if required.
 
 
See Also