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

Update donor state machine depending on featureFlagSliceMerge

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Serverless 2021-09-13, Server Serverless 2021-09-20, Server Serverless 2021-09-27, Server Serverless 2021-10-04, Server Serverless 2021-10-11, Server Serverless 2021-10-18

      Add a "pinning" state (see Pinning the oldest timestamp).
      Add a "protocol" field with a string value of either "multitenant migration" or "slice merge". We initially choose a protocol based on whether slice merge is enabled (see above), then persist this choice in the state machine and use the state machine to determine the protocol in later steps.
      Make tenant id optional (if Merge is enabled it must be absent, otherwise it must be a string).
      +

      Also make tenantId arg of donorStartMigration optional.

            Assignee:
            suganthi.mani@mongodb.com Suganthi Mani
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: