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

ensureIndex in compatibility mode fails

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc2
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: