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

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

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

      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 Unassigned
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: