Investigate if transitionToCatalogShard should be in localhost exception privileges

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding NYC
    • Sharding NYC 2023-04-03
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      transitionToCatalogShard is essentially a wrapper for addShard that adds the config server as a shard capable of storing user data. We have a list of "minimum privileges required to bootstrap a system and add the first user" that we allow when the localhost exception is active (ie there are no users and we're connecting from localhost). Notably, this includes addShard, which raises the question of if we should allow transitionToCatalogShard as well. If transitionToCatalogShard can run, then the cluster is far enough along where we should be able to add a user, so this seems unnecessary, but by that same logic, so is addShard, so we should investigate further.

        1. screenshot-1.png
          205 kB
          Wenqin Ye

            Assignee:
            Wenqin Ye
            Reporter:
            Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: