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

ensureIndex in compatibility mode fails

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.6.0-rc2
    • None
    • Shell
    • None
    • ALL

    Description

      The shell currently does no downconversion of ensureIndex when connected to a legacy host or when the shell is in "compatibility" mode. This prevents scripts written for the 2.6 shell from working properly against older hosts and prevents our regression tests in jsCore from covering the legacy index write path.

      Fix is to emulate a command response by creating the index via a safe write.

      Attachments

        Activity

          People

            greg_10gen Greg Studer
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: