[SERVER-69108] SCCL can immediately return config and admin metadata without triggering a refresh Created: 24/Aug/22 Updated: 29/Oct/23 Resolved: 29/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.1, 5.0.13, 6.0.2, 6.2.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Antonio Fuschetto | Assignee: | Antonio Fuschetto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||
| Backport Requested: |
v6.1, v6.0, v5.0
|
||||||||||||||||||||||||
| Sprint: | Sharding EMEA 2022-09-05 | ||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||
| Linked BF Score: | 105 | ||||||||||||||||||||||||
| Description |
|
Currently, in the case of the primary node, SCCL returns fixed metadata for the config and admin databases. On the other hand, secondary nodes invoke the _flushDatabaseCacheUpdates command on primary to triggers a refresh in order to get the same information in the corresponding config.cache.databases entry. The logic of secondaries can be simplified by returning the fixed metadata immediately, as the primary node already does. This allows to avoid the refresh of the database metadata but having the same semantics. As a (desired) side effect, this allows |
| Comments |
| Comment by Githook User [ 05/Oct/22 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |
| Comment by Githook User [ 15/Sep/22 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |
| Comment by Githook User [ 15/Sep/22 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |
| Comment by Githook User [ 29/Aug/22 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |