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

Change shell default read mode to "compatibility"

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.9
    • Component/s: Querying, Shell
    • Labels:
      None

      Description

      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".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              david.storch David Storch
              Reporter:
              rassi J Rassi
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: