[SERVER-66581] Disallow FeatureFlagUtil.isEnabled to get parameters from routers Created: 19/May/22 Updated: 29/Oct/23 Resolved: 15/Jun/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Pierlauro Sciarelli | Assignee: | Antonio Fuschetto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng, sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Sharding EMEA 2022-06-13, Sharding EMEA 2022-06-27 |
| Participants: |
| Description |
|
Adapt FeatureFlagUtil.isEnabled in order to throw an exception in case a db coming from a mongos is passed as argument. Reproducible with BalanceAccordingToDataSize feature flag disabled by default but enabled via resmoke params:
Output:
|
| Comments |
| Comment by Githook User [ 15/Jun/22 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |
| Comment by Githook User [ 15/Jun/22 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |