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

Disallow analyzing a shard key with encrypted fields

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Sharding NYC
    • Sharding NYC 2023-02-20, Sharding NYC 2023-03-06

    Description

      It is illegal to shard a collection on a shard key that contains encrypted fields. So we should make the analyzeShardKey command fail if the collection has queryable encryption enabled and the given shard key contains an encrypted field.

      Attachments

        Activity

          People

            cheahuychou.mao@mongodb.com Cheahuychou Mao
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: