[SERVER-48653] Return updated ShardVersion in _configsvrCommitChunkSplit to avoid blind metadata refresh Created: 08/Jun/20  Updated: 29/Oct/23  Resolved: 18/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:
Backports
Depends
depends on SERVER-56894 Check minor element of Chunk Version ... Closed
Related
Backwards Compatibility: Minor Change
Backport Requested:
v4.4, v4.2, v4.0
Sprint: Sharding EMEA 2021-05-17, Sharding EMEA 2021-05-31
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 cache coherence with respect to the returned ShardVersion by doing a refresh only if needed.



 Comments   
Comment by Githook User [ 13/Jun/21 ]

Author:

{'name': 'Simon Gratzer', 'email': 'simon.gratzer@mongodb.com'}

Message: SERVER-48653 Return updated ShardVersion in _configsvrCommitChunkSplit to avoid blind metadata refresh (BACKPORT-9050)
Branch: v4.0
https://github.com/mongodb/mongo/commit/fc0c2123616158c1d2729761bec699ff03b72d57

Comment by Githook User [ 01/Jun/21 ]

Author:

{'name': 'Simon Gratzer', 'email': 'simon.gratzer@mongodb.com'}

Message: SERVER-48653 Return updated ShardVersion in _configsvrCommitChunkSplit to avoid blind metadata refresh (BACKPORT-9049)
Branch: v4.2
https://github.com/mongodb/mongo/commit/c58adbce4f628f0da863bd779ada0512e5b242ec

Comment by Githook User [ 31/May/21 ]

Author:

{'name': 'Simon Gratzer', 'email': 'simon.gratzer@mongodb.com'}

Message: SERVER-48653 Return updated ShardVersion in _configsvrCommitChunkSplit to avoid blind metadata refresh (BACKPORT-9048)
Branch: v4.4
https://github.com/mongodb/mongo/commit/29fbb8369744aa7ffbcdb920c9000a965eba8309

Comment by Githook User [ 17/May/21 ]

Author:

{'name': 'Simon Gratzer', 'email': 'simon.gratzer@mongodb.com'}

Message: SERVER-48653 Return updated ShardVersion in _configsvrCommitChunkSplit to avoid blind metadata refresh
Branch: master
https://github.com/mongodb/mongo/commit/b0e213e963fe9ca76fb07212c6c2a1c9316af060

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