When using NAS storage, Elvis Server can be configured to retry failed file operations such as create, move, copy and delete.
Do this by setting the following 2 options in the cluster-config.properties.txt file:
Note: For information about editing this file, see Changing the Elvis 6 Server configuration for a running cluster.
Step 1. Add the following option and set it to 'true':
Step 2. Add the following option and set the time intervals of the retries. In this comma-separated list, the number itself is the total time (in milliseconds) between each retry. The maximum total retry time is the sum of all intervals.
# # Set to true when the Elvis data folder (dataLocation) is connected to a # file level protocol storage device such as SMB/CIFS or NFS. # # When enabled, Elvis will be more robust against file system instabilities # caused by some storage solutions using file level protocols. It will retry file # operations, such as create, move copy and delete if they fail the first time. # fileSystemReliability.retryOnError=true # # Comma-separated list of retry intervals. Can be used to tune failing file operation # retries. # # The number of intervals corresponds with the number of retries. The number itself # is the total amount of time (in milliseconds) between each retry. The maximum total # retry time is the sum of all intervals. # # Only used when fileSystemReliability.retryOnError=true # fileSystemReliability.retryIntervals=200,400,800,1600,3200,6400