[SERVER-37932] Remove erroneous part of coll_epoch_test1.js that attempts to test something that shouldn't work, but due to a bug in the test, the test passes Created: 05/Nov/18  Updated: 29/Oct/23  Resolved: 07/Nov/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.4.18, 3.6.8, 4.0.3, 4.1.4
Fix Version/s: 3.4.19, 3.6.10, 4.0.5, 4.1.5

Type: Bug Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Esha Maharishi (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0, v3.6, v3.4
Sprint: Sharding 2018-11-19
Participants:

 Description   

This part of the test attempts to prove that a mongos can discover through the shard versioning protocol when an unsharded collection is dropped, movePrimary occurs, and the collection is recreated.

This is not expected to work, but the test passes because the test asserts that a stale mongos (one that believes the collection is still on the old primary shard) can see writes done by a fellow stale mongos (also believes collection is still on the old primary shard).

The movePrimary was done from a third mongos.



 Comments   
Comment by Githook User [ 16/Nov/18 ]

Author:

{'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}

Message: SERVER-37932 Remove erroneous part of coll_epoch_test1.js that attempts to test something that shouldn't work, but due to a bug in the test, the test passes

(cherry picked from commit 2a23784057167cbd74321155fc169cd08f562405)
Branch: v3.4
https://github.com/mongodb/mongo/commit/af1d3c629bbdc265fd4b11d22234ac63c349d0be

Comment by Githook User [ 16/Nov/18 ]

Author:

{'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}

Message: SERVER-37932 Remove erroneous part of coll_epoch_test1.js that attempts to test something that shouldn't work, but due to a bug in the test, the test passes

(cherry picked from commit 2a23784057167cbd74321155fc169cd08f562405)
Branch: v3.6
https://github.com/mongodb/mongo/commit/63ea6400430abc2a149e6a95fcdf5dfccedbac30

Comment by Githook User [ 16/Nov/18 ]

Author:

{'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}

Message: SERVER-37932 Remove erroneous part of coll_epoch_test1.js that attempts to test something that shouldn't work, but due to a bug in the test, the test passes

(cherry picked from commit 2a23784057167cbd74321155fc169cd08f562405)
Branch: v4.0
https://github.com/mongodb/mongo/commit/c1b649fb7913c68e1947bf751d8c271ebc97dca5

Comment by Githook User [ 07/Nov/18 ]

Author:

{'name': 'Esha Maharishi', 'email': 'esha.maharishi@mongodb.com', 'username': 'EshaMaharishi'}

Message: SERVER-37932 Remove erroneous part of coll_epoch_test1.js that attempts to test something that shouldn't work, but due to a bug in the test, the test passes
Branch: master
https://github.com/mongodb/mongo/commit/2a23784057167cbd74321155fc169cd08f562405

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