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

Fuzzer must specify w: 1 when unsetting CWRWC

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding
    • ALL

    Description

      diff --git a/jstests/hooks/run_fuzzer_restore_cluster_settings.js b/jstests/hooks/run_fuzzer_restore_cluster_settings.js
      index 0ffc864b621..92d641ae6d8 100644
      --- a/jstests/hooks/run_fuzzer_restore_cluster_settings.js
      +++ b/jstests/hooks/run_fuzzer_restore_cluster_settings.js
      @@ -4,5 +4,5 @@
       // Unsetting read/write settings. This command will also cause the server to refresh and get
       // the new settings.
       assert.commandWorked(
      -    db.adminCommand({setDefaultRWConcern: 1, defaultReadConcern: {}, defaultWriteConcern: {}}));
      +    db.adminCommand({setDefaultRWConcern: 1, defaultReadConcern: {}, defaultWriteConcern: {}, writeConcern: {w: 1}}));
       })();
      

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            kevin.pulo@mongodb.com Kevin Pulo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: