Hello,
I'm encountering an error when trying to check the status of a snapshot. The situation is as follows:
I have an Elasticsearch 7.16.2 cluster consisting of 5 nodes. One node is currently unavailable while a snapshot is being taken. When I attempt to check the snapshot status using the following command:
curl -X GET "localhost:9200/_snapshot/_status?pretty"
I get the following error:
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "duration cannot be negative, was given [-5349206]"
}
],
"type" : "illegal_argument_exception",
"reason": "duration cannot be negative, was given [-5349206]"
},
"status" : 400
}
After some time, when the backup process completes, the snapshot status command works correctly.
Why does this error occur?