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

Allow users to hide the last compatible hashed shard key index

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sharding NYC 2023-07-24

      We currently don't allow users to hide an index if it’s the last shard key compatible index. With the change in SERVER-78253 to allow users to drop the last compatible hashed shard key index, we should allow users to hide them as well.

      There is no test coverage for hiding shard key indexes, so this ticket should add a few test cases for this as well (for hashed shard key indexes and ranged shard key indexes).

            Assignee:
            ali.mir@mongodb.com Ali Mir
            Reporter:
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: