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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Replication

    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

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: