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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Catalog and Routing

    Description

      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 be simply ignored.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: