[SERVER-27809] Move split logic outside of the Chunk class Created: 25/Jan/17  Updated: 05/Apr/17  Resolved: 30/Jan/17

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

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-02-13
Participants:

 Description   

The Chunk class should serve as caching entry only and because of this all write logic should be moved out of it. This includes split and splitIfShould.



 Comments   
Comment by Githook User [ 03/Feb/17 ]

Author:

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

Message: SERVER-27809 Move Chunk::splitIfShould to cluster_write.h/.cpp

(cherry picked from commit 3942d88af18cd7a2d9fff8ea3800f8c7769e5c9f)
Branch: v3.4
https://github.com/mongodb/mongo/commit/c8524d286d2f9f36176ea350b7486b9b17d9cfc5

Comment by Githook User [ 03/Feb/17 ]

Author:

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

Message: SERVER-27809 Move regular chunk split to the balancer

(cherry picked from commit 2922aea4adf8e8fe9bab3a5d6e986e7aecba7228)
Branch: v3.4
https://github.com/mongodb/mongo/commit/187a4c5941b259cf7b419e6326cb9518d5bce757

Comment by Githook User [ 03/Feb/17 ]

Author:

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

Message: SERVER-27809 Move chunk 'at median' split to the cluster split command

This is the only place where it is used.

(cherry picked from commit 5d2fbb084e463ef3417dffac0f01246698c1a404)
Branch: v3.4
https://github.com/mongodb/mongo/commit/9ee1a4e9cb2e1a859c3d49ee2b7e919d11719c89

Comment by Githook User [ 30/Jan/17 ]

Author:

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

Message: SERVER-27809 Move Chunk::splitIfShould to cluster_write.h/.cpp
Branch: master
https://github.com/mongodb/mongo/commit/3942d88af18cd7a2d9fff8ea3800f8c7769e5c9f

Comment by Githook User [ 30/Jan/17 ]

Author:

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

Message: SERVER-27809 Move regular chunk split to the balancer
Branch: master
https://github.com/mongodb/mongo/commit/2922aea4adf8e8fe9bab3a5d6e986e7aecba7228

Comment by Githook User [ 25/Jan/17 ]

Author:

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

Message: SERVER-27809 Move chunk 'at median' split to the cluster split command

This is the only place where it is used.
Branch: master
https://github.com/mongodb/mongo/commit/5d2fbb084e463ef3417dffac0f01246698c1a404

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