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

If a shard key index cannot be dropped then a user should not be able to hide that index

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.1.1, 6.0.4, 6.2.0-rc0
    • None
    • Fully Compatible
    • ALL
    • v6.1, v6.0, v5.0, v4.4
    • Sharding EMEA 2022-10-31, Sharding EMEA 2022-11-14
    • 135
    • 3

    Description

      A hidden index helps users evaluate the potential impact of dropping an index without actually dropping the index. That way, the user can just unhide the index if the impact is bad. Hidden and dropped indexes should therefore have the same behavior.

      For sharding, however, we allow a shard key index that cannot be dropped to be hidden. In order to maintain consistency, we should not allow users to hide a shard key index that cannot be dropped.

      Attachments

        Issue Links

          Activity

            People

              pol.pinol@mongodb.com Pol Pinol
              garaudy.etienne@mongodb.com Garaudy Etienne
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: