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

Use resharding metrics stepUp/stepDown logic in the recipient state machine

    XMLWordPrintable

Details

    • Fully Compatible
    • v5.0
    • Sharding 2021-06-14
    • 49
    • 1

    Description

      1. Remove this if-statement/call into onCompletion.
      2. Place a call to ReshardingMetrics::onStepDown() here contingent on the stepdownToken being cancelled.
      3. Remove the current call to onStart in the class and instead place it here, past the gate checking if we're coming from stepup.
      4. Place a call to onStepUp past this line.

      Attachments

        Issue Links

          Activity

            People

              kshitij.gupta@mongodb.com Kshitij Gupta
              blake.oler@mongodb.com Blake Oler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: