Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-9534

Docs for SERVER-22671: Implement serverStatus section with active migrations

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • Server
    • None

    Description

      Engineering Ticket Description:

      Implement an optional serverStatus section, available both on the config server and on the shards, which returns information about all the active chunk migrations. This section will be used by support and possibly by the balancer when it resumes from primary stepdown.

      On the shards, this serverStatus section should look like this (and should be placed under the optional sharding section):

      sharding: {
      	migrations: [
      		{ source: ShardId,
                        sourceHost: Host:Port,
                        destination: ShardId,
                        destinationHost: Host:Port,
                        chunk: { min: <MinKey>, max: <MaxKey> },
                        phase: String, one of <INIT, CATCHUP, CRITICAL SECTION>,
      		},
      		...
      	]
      }
      

      On the config server, the section should be the union of all migrations across all shards.

      Attachments

        Activity

          People

            ravind.kumar Ravind Kumar (Inactive)
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              45 weeks, 5 days ago