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

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

    Details

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

      Description

      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
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: