Add forgetShardSplit command

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-02-07, Server Serverless 2022-02-21
    • 184
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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

            Assignee:
            Mathis Bessa (Inactive)
            Reporter:
            Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: