[SERVER-43491] Specify that jstest only guarantees consistent behavior against mongod (not mongos) Created: 23/Sep/19  Updated: 29/Oct/23  Resolved: 20/Apr/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.7.0, 4.4.2

Type: Task Priority: Major - P3
Reporter: PM Bot Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: autogen-todo, sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-38215 consider making txn_override.js also ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Sharding 2020-04-20, Sharding 2020-05-04
Participants:

 Description   

There exists a jstest that attempts to create a cursor, then modifies the data underneath the cursor in order to see if the cursor picks up the changes. We don't guarantee any consistent behavior on the data underlying a created cursor, so this test shouldn't exist.

Also get rid of these TODOs related to the test:

buildscripts/resmokeconfig/suites/multi_stmt_txn_jscore_passthrough_with_migration.yml

    # TODO: SERVER-38215 delx.js touches 2 different collections, which makes it susceptible for
-  # migration to happen in between and cause the transaction to abort due to StaleConfigException
-  # because it is not the first op of the transaction.
- jstests/core/delx.js



 Comments   
Comment by Githook User [ 05/Oct/20 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-43491 Specify that jstest only guarantees consistent behavior against mongod (not mongos)

(cherry picked from commit 010817217033f0007646b44f21f0c2862a1b22e6)
Branch: v4.4
https://github.com/mongodb/mongo/commit/5e8c625a366bce2acdeeb346839f3d037930897b

Comment by Githook User [ 20/Apr/20 ]

Author:

{'name': 'Blake Oler', 'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake'}

Message: SERVER-43491 Specify that jstest only guarantees consistent behavior against mongod (not mongos)
Branch: master
https://github.com/mongodb/mongo/commit/010817217033f0007646b44f21f0c2862a1b22e6

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