Skip to content

Commit 5e7bab8

Browse files
Fix message to show -1 for missing stats values
1 parent 9eaee2f commit 5e7bab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specification/snapshot/status/SnapshotStatusRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { Duration } from '@_types/Time'
3232
* This usage is preferred.
3333
* Note that if a node has been restarted or has left the cluster since completing a shard snapshot the stats for that shard will be unavailable.
3434
* Loading the stats from the repository is an expensive operation (see the WARNING below), so to minimize latency for returning stats for currently
35-
* running snapshots the stats values will be zero for these shards even though the "stage" value will be "DONE". A "description" field will be set
35+
* running snapshots the stats values will be -1 for these shards even though the "stage" value will be "DONE". A "description" field will be set
3636
* on these shard stats instances indicating why they are empty. Note that the total stats for the index will be less than expected due to the
3737
* missing values from these shards.
3838
* If needed, you can specify `<repository>` and `<snapshot>` to retrieve information for specific snapshots, even if they're not currently running.

0 commit comments

Comments
 (0)