[SERVER-48648] Return updated ShardVersion in _configsvrCommitChunkMerge to avoid blind metadata refresh Created: 08/Jun/20 Updated: 29/Oct/23 Resolved: 17/May/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.15, 4.4.7, 5.0.0-rc0, 4.0.26 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Tommaso Tocci | Assignee: | Simon Gratzer (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng, sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v4.4, v4.2, v4.0
|
||||||||||||||||||||
| Sprint: | Sharding EMEA 2021-05-17 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Instead of doing a full metadata refresh , the new ShardVersion returned by the config server will be passed to the onShardVersionMismatch function that will ensure the cache coherence with respect to the returned ShardVersion by doing a refresh only if needed. |
| Comments |
| Comment by Githook User [ 17/Jun/21 ] |
|
Author: {'name': 'Simon Graetzer', 'email': 'simon.gratzer@mongodb.com'}Message: |
| Comment by Githook User [ 31/May/21 ] |
|
Author: {'name': 'Simon Gratzer', 'email': 'simon.gratzer@mongodb.com'}Message: |
| Comment by Githook User [ 14/May/21 ] |
|
Author: {'name': 'Simon Gratzer', 'email': 'simon.gratzer@mongodb.com'}Message: |