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

Fuzzer must specify w: 1 when unsetting CWRWC

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding
    • ALL

      Unable to find source-code formatter for language: diff. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      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}}));
       })();
      

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

              Created:
              Updated:
              Resolved: