WoodWing Help Center

Retrying failed file operations when using NAS storage with Elvis 5 Server

Retrying failed file operations when using NAS storage with Elvis 5 Server

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 5 Server configuration for a running cluster.

Step 1. Add the following option and set it to 'true':

fileSystemReliability.retryOnError=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.

fileSystemReliability.retryIntervals=200,400,800,1600,3200,6400

#
# 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
Was this article helpful?
1 out of 1 found this helpful / Created: / Updated:
Have more questions? Submit a request

3 Comments

  • 0
    Avatar
    Rogier Lommers

    Thanks; really helpful!

  • 0
    Avatar
    Gert Blekkenhorst

    Hi,

    Does this setting also affect read operations?.

    The descriptive text does not mention this.

    And, how can we tell Elvis is retrying? Does it show in the logfiles?

    Best regards,

    Gert

     

  • 1
    Avatar
    Erik Korver

    Hi Gert,

    If an operation is unsuccessful and the retry options are active you can see those in the Elvis Server logs.

    Read operations are part of this because operations like download, move, copy, start with accessing (read: read) the asset on the storage location.

Please sign in to leave a comment.