How to use lenientLimit in Artifactory Filestore Sharding Cluster

Pradnya Shinde
2019-09-02 17:46

Summary

How to use lenientLimit in Artifactory Filestore Sharding Cluster

Details

lenientLimit in Artifactory Filestore Sharding is the minimum number of filestores that need to be reachable for successful writes to continue. Reference documentation is here.

Default value for lenientLimit is 1.
From version 5.4. Note that for filestores configured with a custom chain and not using the built-in templates, the default value of the lenientLimit parameter is 0.
If the lenientLimit parameter is 0 (in case of Default value or when it is explicitly set to 0) then you need to provide Redundancy value.
Active Nodes ≥ LenientLimit

For example – 
If lenientLimit is set to 2 with my setup that includes 3 filestores with Redundancy 3 in a HA cluster of 3 nodes:-
then if 1 of the three nodes go down then the writing/deployment will continue. But if 2 out of the three nodes go down then the deployment of artifacts will fail.