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

v3.0 mongos and v3.2 cluster explain command are not compatible

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.0-rc3
    • Component/s: Querying, Sharding
    • None
    • ALL
    • QuInt E (01/11/16)

      Some incompatibility observed include:

      1. Using v3.2 shell on v3.0 mongos can cause the mongos to ignore the read preference setting. This is because the read preference setting used to be inside the explain subdocument in v3.0 and is now moved to the top level in v3.2.

      2. Using v3.0 shell and v3.0 mongos with v3.2 shards to run an explain with slaveOk will result in:

      {
      	"ok" : 0,
      	"errmsg" : "Failed to parse options: { slaveOk: true }. You may need to update your shell or driver.",
      	"code" : 9
      }
      

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: