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

Remove ShardRegistry::kWriteConcernError in favor of using an error_class

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.5
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding 13 (04/22/16), Repl 14 (05/13/16)

      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

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

              Created:
              Updated:
              Resolved: