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

Add `keyPattern` to all range deletion documents missing it on upgrade to v8.0

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 1

      Implement an upgrade procedure to populate range deletion task document with the key pattern.

      This is a necessary step to simplify the shard key pattern retrieval starting from v8.1, as it will be guaranteed that no range deletion task document are written down without the key pattern field (hence, no refreshes will be needed).

      It will not be necessary to delete the field on downgrade as keeping it doesn't harm: the parsing of range deletion documents is not strict and the field will simply be ignored.

        1. SERVER-69769.patch
          924 kB
          Silvia Surroca

            Assignee:
            Unassigned Unassigned
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: