[SERVER-27321] Rename ScopedChunkManager::getExisting to refreshAndGet Created: 07/Dec/16  Updated: 05/Apr/17  Resolved: 08/Dec/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.5.1
Fix Version/s: 3.4.2, 3.5.1

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-20854 Don't refresh database and collection... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Sharding 2016-12-12, Sharding 2017-01-02
Participants:

 Description   

The name ScopedChunkManager::getExisting was poorly chosen, because it does not convey the fact that an incremental refresh is happening in the background as well.



 Comments   
Comment by Githook User [ 21/Dec/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-27321 Rename ScopedChunkManager::getExisting to refreshAndGet

Also replace usages of direct cache retrieval with invocations to the
scoped retrieval methods.

There are no functional changes, only cleanup on the way to remove
DBConfig::reload, which is one of the refresh methods which can block
access to the entire database while only partial reloading is happening.
Branch: v3.4
https://github.com/mongodb/mongo/commit/b0d1d15f429e489b9ff40f5ad7794ed921c956c5

Comment by Githook User [ 08/Dec/16 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-27321 Rename ScopedChunkManager::getExisting to refreshAndGet

Also replace usages of direct cache retrieval with invocations to the
scoped retrieval methods.

There are no functional changes, only cleanup on the way to remove
DBConfig::reload, which is one of the refresh methods which can block
access to the entire database while only partial reloading is happening.
Branch: master
https://github.com/mongodb/mongo/commit/3e8068a3df77ce9574c396774bde2d51333802d4

Generated at Thu Feb 08 04:14:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.