CSOT: CRUD (JAVA-4057)

[JAVA-5264] Deprecate CRUD method options Created: 08/Dec/23  Updated: 11/Jan/24  Resolved: 11/Jan/24

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0

Type: Sub-task Priority: Unknown
Reporter: Slav Babanin Assignee: Slav Babanin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to JAVA-5290 CSOT: Deprecation of timeout configu... Backlog
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

The following options for CRUD methods MUST be deprecated in favor of timeoutMS:

  • maxTimeMS
  • maxCommitTimeMS

Spec: https://github.com/mongodb/specifications/blob/master/source/client-side-operations-timeout/client-side-operations-timeout.rst#deprecations



 Comments   
Comment by Slav Babanin [ 10/Jan/24 ]

ross@mongodb.com Just to clarify, are you referring to the ListCollection/Index Iterables/Flow? In the scope of this ticket, we have deprecated only CRUD-related entities as per the specification. This includes all Find operations, Aggregate, Distinct and Count. We can address the rest in a separate ticket. Please let me know if this diverges from your understanding.

 

UPD: created a task https://jira.mongodb.org/browse/JAVA-5290

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