[SERVER-57388] Delete --readMode, --writeMode, and --rpcProtocols shell command line flags Created: 03/Jun/21  Updated: 29/Oct/23  Resolved: 02/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: Yoon Soo Kim
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-14620 Investigate changes in SERVER-57388: ... Closed
Related
related to SERVER-58037 Remove readMode:commands from resmoke... Closed
is related to SERVER-58198 Remove shellReadMode/shellWriteMode c... Closed
is related to SERVER-58210 Clean up the code for rpc protocol ne... Closed
Backwards Compatibility: Minor Change
Sprint: Query Execution 2021-07-12
Participants:

 Description   

These are ways by which the shell can be instructed to use the legacy opcodes which themselves are being deleted. Note that we still need to have one or two specific test cases for the legacy opcodes. In SERVER-57265, we are looking into how to do this without relying on configuring the shell readMode or writeMode.

As part of this task, we should also delete the various shell helpers for configuring the write and read mode, e.g. Mongo.forceReadMode() and Mongo.forceWriteMode(). and readMode() and writeMode().



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 01/Jul/21 ]

Author:

{'name': 'Yoonsoo Kim', 'email': 'yoonsoo.kim@mongodb.com', 'username': 'yun-soo'}

Message: SERVER-57388 Remove readMode/writeMode/rpcProtocols/useLegacyWriteOps shell command-line parameters
Branch: master
https://github.com/mongodb/mongo/commit/71e0a2469126353455d5df3ecce8be103018f933

Comment by Githook User [ 01/Jul/21 ]

Author:

{'name': 'Yoonsoo Kim', 'email': 'yoonsoo.kim@mongodb.com', 'username': 'yun-soo'}

Message: SERVER-57388 Remove legacy ops test
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/a49d93f4361660aab3a930809e7574e3d9d1aed4

Comment by Yoon Soo Kim [ 01/Jul/21 ]

Filed a follow-up task SERVER-58198 for removal of resmoke shellReadMode/shellWriteMode command-line params.

Comment by Irina Yatsenko (Inactive) [ 30/Jun/21 ]

FYI: as part of SERVER-57457 I hope to remove all calls to `writeMode` from src/mongo/shell/collection.js.

Comment by Yoon Soo Kim [ 28/Jun/21 ]

We should remove useLegacyWriteOps shell command line parameter.

Comment by Yoon Soo Kim [ 25/Jun/21 ]

We should remove test cases which are testing legacy ops using forceReadMode("legacy") or forceWriteMode("legacy")

Comment by David Storch [ 23/Jun/21 ]

We should also delete the --shellReadMode and --shellWriteMode options from resmoke.py.

Generated at Thu Feb 08 05:41:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.