Cannot acquire lock for snapshot management job daily-monit-qa-backup_v2
followed by 2 error logs:
Could not release lock [.opendistro-ism-config-daily-monit-qa-backup_v2-sm-policy] for daily-monit-qa-backup_v2-sm-policy.
These two error logs cause two failure notifications, if the notification channel for this is configured.
However, the snapshot has actually a "SUCCESS" status, so these logs seem rather insignificant or at least not worth further digging, as my snapshot is successful. Not sure what should happen here, I guess either "downgrade" these logs significance to "INFO" or "DEBUG", but definitely not "ERROR" as this makes the Failure notification functionality non-reliable.
Related component
Storage:Snapshots
To Reproduce
Create a daily snapshot policy to an s3 bucket, like the one I specify above.
Observe the WARN/ERROR logs emited when the snapshot is getting created accordingly.
Expected behavior
If the snapshot is successful, it should produce no ERROR logs.
Additional Details
Plugins
All default ones + repository-s3
Host/Environment (please complete the following information):
Describe the bug
I have a simple snapshot management job running daily:
Everyday it produces around 70 warning logs like:
followed by 2 error logs:
These two error logs cause two failure notifications, if the notification channel for this is configured.
However, the snapshot has actually a "SUCCESS" status, so these logs seem rather insignificant or at least not worth further digging, as my snapshot is successful. Not sure what should happen here, I guess either "downgrade" these logs significance to "INFO" or "DEBUG", but definitely not "ERROR" as this makes the Failure notification functionality non-reliable.
Related component
Storage:Snapshots
To Reproduce
Expected behavior
If the snapshot is successful, it should produce no ERROR logs.
Additional Details
Plugins All default ones + repository-s3
Host/Environment (please complete the following information):
Additional context Tested on OpenSearch v2.11.1