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

Change shell default read mode to "compatibility"

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.9
    • Affects Version/s: None
    • Component/s: Querying, Shell
    • None
    • Fully Compatible
    • QuInt A (10/12/15)

      The shell's default read mode should be changed to "compatibility". This will cause the shell to auto-detect whether to use OP_QUERY/OP_GET_MORE or find/getMore commands based on wire version by default.

      When this change is made, the resmoke.py suites should be changed to pass "-readMode legacy" or "readMode commands" in order to ensure a particular read protocol. Suites testing legacy configurations such as SCCC mode config servers or legacy write ops should also be configured to use "readMode legacy". All other suites should ensure use of the find/getMore commands via "-readMode commands".

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: