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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • None
    • Server
    • None

    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

        Activity

          People

            Unassigned Unassigned
            emily.hall Emily Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 19 weeks, 6 days ago