[SERVER-28030] Move 'initial chunks' writes out of ChunkManager Created: 16/Feb/17  Updated: 05/Apr/17  Resolved: 19/Feb/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.5.3
Fix Version/s: 3.4.3, 3.5.4

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 2017-03-06
Participants:

 Description   

The ChunkManager class is intended to be a simple cache of the routing information and as such should not be doing writes. The initial chunk creation logic which is contained in it should be moved out.



 Comments   
Comment by Githook User [ 01/Mar/17 ]

Author:

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

Message: SERVER-28030 Remove writes from ChunkManager

Also moves the 'chunks' tests from dbtests into the ChunkManager
unit-tests.

(cherry picked from commit 585ade2ae5f776effa2c63c2221a4639f8545bc2)
Branch: v3.4
https://github.com/mongodb/mongo/commit/6ba514b246e9163202a8a58b1fee10b329995904

Comment by Githook User [ 01/Mar/17 ]

Author:

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

Message: SERVER-28030 Remove writes from Chunk

(cherry picked from commit 41729cec076164077f13571e35596934477d7110)
Branch: v3.4
https://github.com/mongodb/mongo/commit/009752a819e0d53317ec517f94d9aabf3061445b

Comment by Githook User [ 01/Mar/17 ]

Author:

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

Message: SERVER-28030 Move catalog_cache.h/.cpp to mongo/s/

There is no need for the CatalogCache and the cache entry classes to be in
the same directory as the catalog manager.

(cherry picked from commit f2744a782db74983e3ce4e145839ea15f1e4dd5f)
Branch: v3.4
https://github.com/mongodb/mongo/commit/ad1a3c97ec9cb2b3ece963a8674a05f5d8194c13

Comment by Githook User [ 19/Feb/17 ]

Author:

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

Message: SERVER-28030 Remove writes from ChunkManager

Also moves the 'chunks' tests from dbtests into the ChunkManager
unit-tests.
Branch: master
https://github.com/mongodb/mongo/commit/585ade2ae5f776effa2c63c2221a4639f8545bc2

Comment by Githook User [ 19/Feb/17 ]

Author:

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

Message: SERVER-28030 Remove writes from Chunk
Branch: master
https://github.com/mongodb/mongo/commit/41729cec076164077f13571e35596934477d7110

Comment by Githook User [ 19/Feb/17 ]

Author:

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

Message: SERVER-28030 Move catalog_cache.h/.cpp to mongo/s/

There is no need for the CatalogCache and the cache entry classes to be in
the same directory as the catalog manager.
Branch: master
https://github.com/mongodb/mongo/commit/f2744a782db74983e3ce4e145839ea15f1e4dd5f

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