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

getLastErrorModes should be renamed

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.6.0-rc0
    • Replication
    • None
    • Replication

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            osmar.olivo Osmar Olivo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: