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

explain shell helpers should retry using $explain if explain command fails on a mixed version sharded cluster

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.8.0-rc1
    • Shell
    • None

    Description

      Suppose you have the following configuration:

      • version 2.8 mongo shell
      • version 2.8 mongos
      • version 2.6 shards

      Based on the wire version reported by mongos, the shell will notice that the mongos has the explain command available. It will issue explains using the explain command rather than falling back to the $explain query flag.

      However, the explain command on mongos explicitly fails unless all shards are version 2.8. This means that it is impossible to run explain with the above configuration. The shell should retry using legacy $explain in order to support explains in this configuration.

      Attachments

        Issue Links

          Activity

            People

              david.storch@mongodb.com David Storch
              david.storch@mongodb.com David Storch
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: