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

getLastErrorModes should be renamed

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.0-rc0
    • Component/s: Replication
    • Labels:
      None
    • Replication

      Given that all writes will use the new write API as of 2.6, getLastErrorModes for custom write concerns/tagging write concerns is somewhat of a name rooted in legacy and is no longer a good fit.

      If I want to use a custom write concern, it is very unintuitive for me to know that getLastErrorModes is the configuration flag to do so. Especially considering that getLastError() is no longer how write concerns internally work.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            osmar.olivo Osmar Olivo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: