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

Add forgetShardSplit command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Server Serverless 2022-02-07, Server Serverless 2022-02-21
    • 184

    Description

      Similar to tenant migrations, shard split will support a "forget" command to signal to the donor that it can garbage collect a finished split operation. Follow the design section for Garbage collecting the state machines from tenant migrations:

      • add a TTL index for state document expiration
      • add a new forgetShardSplit which marks a state machine eligible for garbage collection
      • write tests proving this behavior

      Attachments

        Activity

          People

            mathis.bessa@mongodb.com Mathis Bessa
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: