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

Remove ShardRegistry::kWriteConcernError in favor of using an error_class

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.5
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 13 (04/22/16), Repl 14 (05/13/16)

    Description

      https://github.com/mongodb/mongo/commit/889ca31c1a1e7725b14f291233a4ee4f7afea111 introduces an error code set of write concern errors and hung it in the ShardRegistry, even though the only users of this set are the user management commands. This is not the right place for this set to live. Instead we should define an error_class in error_codes.err and use the is*Error method it creates

      Attachments

        Activity

          People

            judah.schvimer@mongodb.com Judah Schvimer
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: