[SERVER-35670] Add test that if a shard already has a cache entry for a database without a version, refreshing causes the entry to be updated with the version Created: 19/Jun/18  Updated: 29/Oct/23  Resolved: 20/Jun/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.1.1

Type: Task 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:
Related
related to SERVER-34458 Shards should always persist a databa... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-07-02
Participants:

 Description   

This ensures that if a shard had cached a database entry without a version in a 4.0 cluster while in FCV 3.6, then upgrading the cluster to 4.2 binaries will cause the next request that has a database version attached to cause the shard to refresh and pick up the version and write it to its on-disk cache so that the version can also be picked up by secondaries.



 Comments   
Comment by Esha Maharishi (Inactive) [ 20/Jun/18 ]

Whoops, forgot to squash the commits into one.

Comment by Githook User [ 20/Jun/18 ]

Author:

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

Message: SERVER-35670 Add test that if a shard already has a cache entry for a database without a version, refreshing causes the entry to be updated with the version
Branch: master
https://github.com/mongodb/mongo/commit/286fdc12c0d37f5c614875eae9ab541638103b10

Comment by Githook User [ 20/Jun/18 ]

Author:

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

Message: SERVER-35670 Add test that if a shard already has a cache entry for a database without a version, refreshing causes the entry to be updated with the version
Branch: master
https://github.com/mongodb/mongo/commit/464eec7984973d3e1d0cb0f63a2f353f3c870dfe

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