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

Rename or alias repl set config settings "getLastErrorDefaults" and "getLastErrorModes"

    XMLWordPrintableJSON

Details

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

    Description

      If I understand correctly, settings.getLastErrorDefaults and settings.getLastErrorModes don't really have anything to do with getLastError, but rather are writeConcern-related configuration options. This means they are now misnamed, and should probably be called something like "writeConcernDefaults" and "writeConcernModes". We should rename them or provide aliases.

      Note that the getLastError command was deprecated in version 5.0, and the Query Execution team is planning to remove it soon. Therefore, these misnamed options will become even more obviously misnamed, since getLastError will cease to exist in the rest of the code base.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: