[SERVER-60804] Remove shard version checks from cursor_valid_after_shard_stepdown Created: 19/Oct/21  Updated: 29/Oct/23  Resolved: 21/Oct/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 5.2.0, 5.1.0-rc0
Fix Version/s: 5.2.0, 4.4.11, 5.1.0-rc2, 5.0.5

Type: Bug Priority: Major - P3
Reporter: Allison Easton Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-55412 Mirrored reads should propagate the s... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.1, v5.0, v4.4
Sprint: Sharding EMEA 2021-11-01
Participants:
Linked BF Score: 45

 Description   

cursor_valid_after_shard_stepdown.js checks for shard version UNKNOWN after the step up of a secondary. If a refresh happens on the secondary from a mirrored read or other source, this assertion will fail.

This ticket is to remove the shard versioning checks from this test and re-enable it in the sharding_max_mirroring suite



 Comments   
Comment by Githook User [ 17/Nov/21 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-60804 Remove shard version checks from cursor_valid_after_shard_stepdown

(cherry picked from commit 19cf54eb17cf933dfabf5a553660d93319e51713)
Branch: v4.4
https://github.com/mongodb/mongo/commit/6c1a502a589b6274825d7be76e6beb4efadb9faf

Comment by Githook User [ 17/Nov/21 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-60804 Remove shard version checks from cursor_valid_after_shard_stepdown

(cherry picked from commit 19cf54eb17cf933dfabf5a553660d93319e51713)
Branch: v5.0
https://github.com/mongodb/mongo/commit/1ce8a0f30a173ee3286641edfc155047db336896

Comment by Githook User [ 22/Oct/21 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-60804 Remove shard version checks from cursor_valid_after_shard_stepdown

(cherry picked from commit 19cf54eb17cf933dfabf5a553660d93319e51713)
Branch: v5.1
https://github.com/mongodb/mongo/commit/ea9e5a87df840cd2a7fffd39f33c7641e406bf9a

Comment by Githook User [ 21/Oct/21 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-60804 Remove shard version checks from cursor_valid_after_shard_stepdown
Branch: master
https://github.com/mongodb/mongo/commit/19cf54eb17cf933dfabf5a553660d93319e51713

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