Persistence Data Loading Retries
This feature is only available in NCache Enterprise Edition.
Distributed cache with persistence loads data from the persistence store on cache restart, node join and leave. During loading, the persistence store can become inaccessible for a running cache due to network failure either for a brief period or infinite time. On connection loss with the store, the cache keeps trying to load data on Load Failure Retry Interval until the connection to the persistence store is reestablished.
You can configure the retry interval, the number of retries and the interval between each retry using NCache provided tags. These tags can be found in Alachisoft.NCache.Service.dll.config file present at %NCHOME%/bin/service in Windows and Alachisoft.NCache.Daemon.dll.config file present at NCache Install dir\bin\service in Linux.
Time interval after which the retry job retries to load data of failed buckets during loading can be changed against the
NCacheServer.PersistenceLoadFailureRetryInterval key. The time is specified in minutes.
<add key="NCacheServer.PersistenceLoadFailureRetryInterval" value="3"/>
The number of times a failed bucket is retried to load can be changed against the
NCacheServer.PersistenceLoadBucketFailureRetries key. Once these retries are exhausted, the retry job executes it in the background as per configuration.
<add key="NCacheServer.PersistenceLoadBucketFailureRetries" value="3"/>
The interval between each retry on a failed bucket can be changed against the
NCacheServer.PersistenceLoadBucketFailureRetryInterval key. It is specified in seconds.
<add key="NCacheServer.PersistenceLoadBucketFailureRetryInterval" value="10"/>
Configure NCache Persistence Settings