[SERVER-43265] Mongo Shell exits with InvalidOptions error when using URI compressors parameter Created: 11/Sep/19 Updated: 29/Oct/23 Resolved: 10/Oct/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 4.2.0 |
| Fix Version/s: | 4.3.1, 4.2.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Frederick Zhang | Assignee: | Henrik Edin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||
| Steps To Reproduce: | Run mongo 'mongodb://user@host/db?compressors=snappy' (or any other values for compressors except for 'disabled', which is the default value). |
||||||||||||
| Sprint: | Dev Tools 2019-10-21 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
Mongo Shell exits with
when using 'compressors' URI parameter, unless --networkMessageCompressors is given at the same time with same value. I was able to reproduce this issue using shell 4.1.9, 4.1.13 and 4.2.0 but not 4.1.7. After quickly going through the commits between r4.1.7 and r4.1.9, I guess this is possibly related to 2c0bebbfe5. |
| Comments |
| Comment by Henrik Edin [ 24/Oct/19 ] | |||||||||||||
|
The fix just missed the release of 4.2.1 and will be released in 4.2.2. Sorry for the confusion, | |||||||||||||
| Comment by Frederick Zhang [ 19/Oct/19 ] | |||||||||||||
|
Issue summary says it's fixed and backported to 4.2.1 but I can still reproduce the problem?
| |||||||||||||
| Comment by Githook User [ 15/Oct/19 ] | |||||||||||||
|
Author: {'username': 'henrikedin', 'email': 'henrik.edin@mongodb.com', 'name': 'Henrik Edin'}Message: (cherry picked from commit ab77143b2163da066776bd965e0cd3a931d9aa10) | |||||||||||||
| Comment by Githook User [ 10/Oct/19 ] | |||||||||||||
|
Author: {'username': 'henrikedin', 'email': 'henrik.edin@mongodb.com', 'name': 'Henrik Edin'}Message: | |||||||||||||
| Comment by Carl Champain (Inactive) [ 11/Sep/19 ] | |||||||||||||
|
Thanks for the report! Kind regards, |