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

Check for standalone-only commands when checking if a command can be run on a secondary

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When running a command on a secondary, we check if that command is allowed on the secondary here. If the command is only allowed to be run on a standalone node, then this will cause the command to fail with a NotMaster error instead of a helpful error for the user.

      We should add functionality to check for standalone-only commands in a manner analogous to AllowedOnSecondary to provide a better error for users.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-repl Backlog - Replication Team
              Reporter:
              samy.lanka Samyukta Lanka
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: