[SERVER-56469] The shard server catalog cache loader should replace the entries on config.cache.collections and not just update them Created: 29/Apr/21  Updated: 29/Oct/23  Resolved: 04/May/21

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

Type: Bug Priority: Major - P3
Reporter: Sergi Mateo Bellido Assignee: Sergi Mateo Bellido
Resolution: Fixed Votes: 0
Labels: PM-1965-Cleanup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-54583 Relax implementation of getDatabaseWi... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2021-05-03, Sharding EMEA 2021-05-17
Participants:

 Description   

The SSCCL should replace the entries on config.cache.collections instead of just update them. Note that the function that is updating the shard collection entries internally adds the $set operator. Thus, fields that were persisted before but don't exist on the current version are not removed.



 Comments   
Comment by Githook User [ 03/May/21 ]

Author:

{'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}

Message: SERVER-56469 The shard server catalog cache loader should replace the entries on config.cache.collections and not just update them
Branch: master
https://github.com/mongodb/mongo/commit/a56d19b3cd567c1fed816f75f358b72fcb88841b

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