[DRIVERS-710] Deprecate oplogReplay find command option from CRUD spec Created: 24/Aug/18  Updated: 28/Oct/23  Resolved: 21/Feb/23

Status: Closed
Project: Drivers
Component/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kevin Arhelger Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CDRIVER-3485 Deprecate oplogReplay find command op... Closed
depends on CSHARP-2898 Deprecate oplogReplay find command op... Closed
depends on CXX-1907 Deprecate oplogReplay find command op... Closed
depends on GODRIVER-1462 Deprecate oplogReplay find command op... Closed
depends on MOTOR-487 Deprecate oplogReplay find command op... Closed
depends on PHPC-1525 Deprecate oplogReplay find command op... Closed
depends on PHPLIB-520 Deprecate oplogReplay find command op... Closed
depends on PYTHON-2097 Deprecate oplogReplay find command op... Closed
depends on RUBY-2079 Deprecate oplogReplay find command op... Closed
depends on JAVA-3591 Deprecate oplogReplay find command op... Closed
depends on NODE-2423 Deprecate oplogReplay find command op... Closed
depends on RUST-379 Deprecate oplogReplay find command op... Closed
depends on SERVER-36186 Ignore value of oplogReplay find comm... Closed
Server Compat: 4.3
Upstream Changes Summary:

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.

Driver Compliance:
Key Status/Resolution FixVersion
PHPC-1525 Fixed 1.8.0-beta1, 1.8.0
CXX-1907 Works as Designed
JAVA-3591 Fixed 4.1.0
NODE-2423 Fixed 3.6.0
MOTOR-487 Duplicate
CSHARP-2898 Fixed 2.11.0
RUBY-2079 Fixed 2.13.0.beta1
CDRIVER-3485 Fixed 1.17.0-beta, 1.17.0
GODRIVER-1462 Fixed 1.4.0
PYTHON-2097 Fixed 3.11
PHPLIB-520 Fixed 1.7.0-beta1, 1.7.0
RUST-379 Works as Designed
SWIFT-804 Won't Do

 Description   

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.



 Comments   
Comment by Bernie Hackett [ 30/Jul/19 ]

Setting this back to needs triage. Some drivers have helpers, or documentation for writing a helper, for tailing the oplog. Those will have to be updated.

Generated at Thu Feb 08 08:22:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.