-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
CAR Team 2024-08-19
Currently, $clusterTopology retrieves a document containing information about the cluster's topology. An example of the current structure is as follows:
{ shards: [ { name: 'shard-rs0', host: 'shard-rs0/ip-10-122-6-112:20043' }, { name: 'shard-rs1', host: 'shard-rs1/ip-10-122-6-112:20044' } ], activeRouters: [ ... ] }
The aim of this task is to introduce a new field within each shard document to indicate the draining status, similar to what the listShards command does.