Shell calls GLE with w:1, which prints an error if the write was to the config servers

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.4.0
    • Component/s: Sharding, Shell
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If you do a write to the config database through mongos in 2.4 and the shell is in verbose mode, the shell prints a "norepl" error message.

      > set verbose true
      set verbose to true
      > use config;
      > db.settings.update({_id:'balancer'},{$set:{stopped:true}});
      norepl
      > 
      

      We shouldn't use w:1 here, we should instead just not specify w at all. Alternatively, we could make GLE on config servers not return "norepl" when given a "w" field if the value of the "w" field is 1.

              Assignee:
              Unassigned
              Reporter:
              Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: