Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-93361

(Nice-to-have) Include the "draining" state in the shards' section in $clusterTopology

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: