I have a cluster that has 3 masters, 2 hot, 2 warms, 2 colds nodes. I am trying to take a snapshot but I got this error;
"type": "snapshot_exception",
"reason": "[cul-backup:cul-snap-2022.03.28-xxxxxxxxx/xxxxxxxxxx] failed to update snapshot in repository",
"caused_by": {
"type": "repository_exception",
"reason": "[cul-backup] concurrent modification of the index-N file, expected current generation [1] but it was not found in the repository. The last cluster to write to this repository was [_na_] at generation [-1].
"stack_trace": "RepositoryException[[cul-backup] concurrent modification of the index-N file, expected current generation [1] but it was not found in the repository. The last cluster to write to this repository was [_na_] at generation [-1].]\n\tat org.elasticsearch.repositories.blobstore.BlobStoreRepository.ensureSafeGenerationExists(BlobStoreRepository.java:2445"
I am using Shared file system that is Type: “fs” and snapshot data is being created under the path.repo successfully;
ls /mnt/data/sharing/es_backup/cul_snapshot/
indices meta-xxxxxxxx.dat snap-xxxxxxxxxx.dat
Also, Repository Verification status is connected for all cluster's nodes
I have also deleted the repository and recreated again to solve this issue but it didn't work.
How can I solve this issue?