[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: |
|
||||||||
| 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: |