[SERVER-22592] Remove duplicate check for 'enabled' from ShardingState::_refreshMetadata Created: 12/Feb/16  Updated: 21/Nov/16  Resolved: 15/Feb/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.2.4, 3.3.2

Type: Improvement Priority: Trivial - P5
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: code-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Sharding 10 (02/19/16)
Participants:

 Description   

There is a wait at the beginning of this function, which already ensures that the ShardingState has been initialized.



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

Author:

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

Message: SERVER-22592 Remove duplicate check for 'enabled'

At the beginning of ShardingState::_refreshMetadata there is already a
wait, which ensures that the sharding state has been initialized.
Branch: v3.2
https://github.com/mongodb/mongo/commit/a1a7a40eb5588f55aa5a3715a81d07c6fa86ea46

Comment by Githook User [ 15/Feb/16 ]

Author:

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

Message: SERVER-22592 Remove duplicate check for 'enabled'

At the beginning of ShardingState::_refreshMetadata there is already a
wait, which ensures that the sharding state has been initialized.
Branch: master
https://github.com/mongodb/mongo/commit/04bf132fbc13fdf26fb90bae493b6a49d17994bc

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