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

Allow users to hide the last compatible hashed shard key index

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Sharding NYC 2023-07-24

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: