Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8943

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

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: Server
    • Labels:
      None

      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:
            Unassigned Unassigned
            Reporter:
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              7 years, 30 weeks, 1 day ago