Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-710

Deprecate oplogReplay find command option from CRUD spec

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • None
    • Hide

      The oplogReplay flag is now deprecated. Please update https://docs.mongodb.com/manual/reference/mongodb-wire-protocol/#op-query to mark the oplogReplay OP_QUERY wire protocol flag to reflect this.

      Any application which sets this flag can safely remove it when communicating with a 4.4 server. The flag is still needed to optimize oplog queries when communicating with a 4.2 or older server.

      Show
      The oplogReplay flag is now deprecated. Please update https://docs.mongodb.com/manual/reference/mongodb-wire-protocol/#op-query to mark the oplogReplay OP_QUERY wire protocol flag to reflect this. Any application which sets this flag can safely remove it when communicating with a 4.4 server. The flag is still needed to optimize oplog queries when communicating with a 4.2 or older server.

      As of SERVER-36186 and server version 4.3.1, the oplogReplay option for find is ignored. The CRUD spec deprecated this option in 180729a for SPEC-1491.

      Drivers should deprecate the option in any documentation and code (if applicable). No other code changes are required, as a 4.3.1+ server will happily ignore the option if it is provided.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.arhelger@mongodb.com Kevin Arhelger
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: