[SERVER-27382] Remove usages of DBConfig::reload Created: 12/Dec/16  Updated: 24/Aug/17  Resolved: 09/Feb/17

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

Type: Improvement 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-01-02, Sharding 2017-02-13
Participants:

 Description   

The DBConfig::reload call performs blocking reads while holding the cache entry's mutex. It should be replaced with invalidations instead so that the full reload logic is concentrated in one place.



 Comments   
Comment by Ramon Fernandez Marina [ 24/Aug/17 ]

Author:

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

Message:SERVER-27382 Remove usages of DBConfig::reload/getChunkManagerOrPrimary from legacy code paths
Branch:master
https://github.com/mongodb/mongo/commit/58292592979ff9277ec34390469a1541315104c0

Comment by Ramon Fernandez Marina [ 24/Aug/17 ]

Author:

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

Message:Revert "SERVER-27382 Remove usages of DBConfig::reload/getChunkManagerOrPrimary from legacy code paths"

This reverts commit 58292592979ff9277ec34390469a1541315104c0.
Branch:master
https://github.com/mongodb/mongo/commit/c5f52fb3265ef68ffe2741f88758082dda393a4b

Comment by Githook User [ 28/Feb/17 ]

Author:

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

Message: SERVER-27382 Get rid of the DBConfig::reload method

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

Comment by Githook User [ 28/Feb/17 ]

Author:

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

Message: SERVER-27382 Get rid of DBConfig::reload from ParallelSortClusteredCursor

(cherry picked from commit 92b04fe8dc31e7ec90bc97ad8722768d7732717e)
Branch: v3.4
https://github.com/mongodb/mongo/commit/fc21db2f01a38ad13389bc9f032b6e206758d144

Comment by Githook User [ 28/Feb/17 ]

Author:

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

Message: SERVER-27382 Get rid of DBConfig::getChunkManagerOrPrimary

(cherry picked from commit 7f71474649f01b8914b4284be44cbe325c1458d0)
Branch: v3.4
https://github.com/mongodb/mongo/commit/0dc94169560fbab9e1761b110c1c4a6a978ac414

Comment by Githook User [ 28/Feb/17 ]

Author:

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

Message: SERVER-27382 Remove usages of DBConfig::reload/getChunkManagerOrPrimary from legacy code paths

This reverts commit c5f52fb3265ef68ffe2741f88758082dda393a4b.

(cherry picked from commit 027b8038e23a6e32d1cd35bb27f5f6286a813d86)
Branch: v3.4
https://github.com/mongodb/mongo/commit/533fde5e13e39486b8b59e1361f1ce497f32c75e

Comment by Githook User [ 28/Feb/17 ]

Author:

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

Message: SERVER-27382 Remove usage of DBConfig::reload from ClusterFind

(cherry picked from commit 970fdd08aa92e5393d3f616fd6270ea1fb688640)
Branch: v3.4
https://github.com/mongodb/mongo/commit/b31ad82d25366264f886422dad38f67794a66c35

Comment by Githook User [ 28/Feb/17 ]

Author:

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

Message: SERVER-27382 Remove usage of DBConfig::reload from ChunkManagerTargeter

(cherry picked from commit a82df5012ee9c1d48197af81abc921f717227323)
Branch: v3.4
https://github.com/mongodb/mongo/commit/989a4a90143da181232dabaf777e69c27ebd9295

Comment by Githook User [ 08/Feb/17 ]

Author:

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

Message: SERVER-27382 Get rid of the DBConfig::reload method
Branch: master
https://github.com/mongodb/mongo/commit/bae38e4ebedfe66f66f3cef6ee0e9d12ad79b116

Comment by Githook User [ 08/Feb/17 ]

Author:

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

Message: SERVER-27382 Get rid of DBConfig::reload from ParallelSortClusteredCursor
Branch: master
https://github.com/mongodb/mongo/commit/92b04fe8dc31e7ec90bc97ad8722768d7732717e

Comment by Githook User [ 08/Feb/17 ]

Author:

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

Message: SERVER-27382 Get rid of DBConfig::getChunkManagerOrPrimary
Branch: master
https://github.com/mongodb/mongo/commit/7f71474649f01b8914b4284be44cbe325c1458d0

Comment by Githook User [ 06/Feb/17 ]

Author:

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

Message: SERVER-27382 Remove usages of DBConfig::reload/getChunkManagerOrPrimary from legacy code paths

This reverts commit c5f52fb3265ef68ffe2741f88758082dda393a4b.
Branch: master
https://github.com/mongodb/mongo/commit/027b8038e23a6e32d1cd35bb27f5f6286a813d86

Comment by Githook User [ 02/Feb/17 ]

Author:

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

Message: SERVER-27382 Remove usage of DBConfig::reload from ClusterFind
Branch: master
https://github.com/mongodb/mongo/commit/970fdd08aa92e5393d3f616fd6270ea1fb688640

Comment by Githook User [ 02/Feb/17 ]

Author:

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

Message: SERVER-27382 Remove usage of DBConfig::reload from ChunkManagerTargeter
Branch: master
https://github.com/mongodb/mongo/commit/a82df5012ee9c1d48197af81abc921f717227323

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