splitVector command should implement adminOnly()

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Minor Change
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Most chunk-related commands (splitChunk, mergeChunks, moveChunk, etc.) implement the adminOnly() function. Consequently, they can only be run on the admin database.

      splitVector, however, does not implement adminOnly() and thus can be run on any database. In order to be consistent, it should be an admin-database-only command.

            Assignee:
            Unassigned
            Reporter:
            David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: