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

Make CleanupStructuredEncryptionDataCoordinator work with unsplittable collections

    XMLWordPrintableJSON

Details

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

    Description

      Queryable Encryption is a feature added in 7.0 that exposes metadata collections to the user. These collections are only used to speed up queries, so they can be dropped at any time by users. As part of the track unsharded collection project we need to make the metadata of such collections consistent. The command cleanupStructuredEncryptionData spawns a coordinator that executes direct DDL operations:

      We need to change them to use the DDLCoordinator version (_shardsvrRenameCollection, _shardsvrCreateCollection and _shardsvrDropCollection) so the metadata is properly tracked in the config server, and is consistent.

      Additionally we need to make this coordinator to consider when the unsplittable collection is not on the primary shard.

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: