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

Make CompactStructuredEncryptionDataCoordinator work with unsplittable collections

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

      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 compactStructuredEncryptionData 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.

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: