Disallow analyzing a shard key with encrypted fields

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding NYC
    • Sharding NYC 2023-02-20, Sharding NYC 2023-03-06
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Cheahuychou Mao
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: