Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11378

Document that user & role management methods default write concern is majority

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      The default write concern for some user & role management methods are majority. This was not mentioned in the docs, which leads to some confusion from users, since the default write concern for a replica set is w:1

      This involves these user management methods:

      And these role management methods:

      The default write concern of majority for these methods should be explicitly mentioned in the documentation, since it deviates from expected standard behaviour.

      Appendix:

      • The relevant section in the 3.6 codebase: link
      • The original ticket for adding write concern to these methods: SERVER-6246

            Assignee:
            kevin.adistambha@mongodb.com Kevin Adistambha
            Reporter:
            kevin.adistambha@mongodb.com Kevin Adistambha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 47 weeks, 2 days ago