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

readConcern not passed from DBCollection.count() shell helper to runCommand()

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc3
    • Affects Version/s: None
    • Component/s: JavaScript
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Build A (10/09/15), Build B (10/30/15), Build C (11/20/15)

      Count issued in shell

      assert.eq(10, t.count({_id:{$exists:true}},{readConcern:{level:"majority"}}));
      

      Object passed to runCommand:

      {
          "count" : "readMajority",
          "query" : { 
              "_id" : { 
                  "$exists" : true
              }   
          },  
          "fields" : { 
              
          }   
      }
      

            Assignee:
            jonathan.reams@mongodb.com Jonathan Reams
            Reporter:
            michael.grundy Michael Grundy
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: