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

Disallow CRUD ops against replica set members in standalone mode, with a server parameter override that prevents re-introduction of the node into the replica set

    XMLWordPrintable

    Details

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

      Description

      Replica set members in standalone mode will no longer be allowed to take user writes. Metadata operations will continue to be allowed. The user can override this default with a new server parameter, which will also set an existing flag that will prevent the re-introduction of the node back into its replica set. So writes will be allowed again, but they will cause the node's data to diverge from the replica set, and would cause data inconsistencies if allowed to rejoin the replica set, so we won't allow it anymore.

      The new server parameter should cause the index builds found on startup to be dropped, just like a non-repl member in standalone mode does on startup, since retaining them is only important for re-introduction to the replica set.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: