Closed lesam closed 3 years ago
@lesam: this part is a bit confusing:
state: the AE status of the shard (healthy/restore pending/restoring/repairing/error processing)
Can you clarify the set of possible states?
The possible states are here: https://github.com/influxdata/plutonium/blob/352e7e3b0f24810f717eeed4acfca56ad3c719ec/services/ae/service.go#L762
This was actually added in 2017, but I don't think it is necessary to update the historical documentation.
Describe the new feature here.
GET /shard-status
is a valid Enterprise API call. It gets all the shards for the current data node, like so:Only details about shards owned by the data node that is hit are provided.
id: the shard id size: the size on disk of the shard (bytes) is_hot: whether the time range from the shard includes 'now'. Note that this is different from is_idle (not captured here) which is whether the shard is fully compacted and not receiving new (potentially historical) writes. state: the AE status of the shard (healthy/restore pending/restoring/repairing/error processing)