[SERVER-38434] queryableBackupMode and wiredTigerEngineConfigString flags are incompatible Created: 05/Dec/18 Updated: 29/Oct/23 Resolved: 21/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.19, 3.6.10, 4.0.6, 4.1.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Bartley | Assignee: | Gregory Wlodarek |
| 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.0, v3.6, v3.4
|
||||
| Steps To Reproduce: | Run mongod with --wiredTigerEngineConfigString cache_size=64M --queryableBackupMode. |
||||
| Sprint: | Storage NYC 2018-12-31 | ||||
| Participants: | |||||
| Description |
|
If you try to use both of them, you'll get an "Invalid argument" error. For example, if you pass --wiredTigerEngineConfigString cache_size=64M --queryableBackupMode, mongo will end up passing the string ...,cache_size=64Mreadonly=true, to WiredTiger. The bug is at https://github.com/mongodb/mongo/blob/b7a866da63617afe5bbb98d13b905fab63449209/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp#L513; that should be ss << ",readonly=true,"; (note the addition of the leading comma). |
| Comments |
| Comment by Githook User [ 21/Dec/18 ] |
|
Author: {'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}Message: (cherry picked from commit a171bb5a032ccbed77b1a547ac46bda1894b5429) |
| Comment by Githook User [ 21/Dec/18 ] |
|
Author: {'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}Message: (cherry picked from commit a171bb5a032ccbed77b1a547ac46bda1894b5429) |
| Comment by Githook User [ 21/Dec/18 ] |
|
Author: {'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}Message: (cherry picked from commit a171bb5a032ccbed77b1a547ac46bda1894b5429) |
| Comment by Githook User [ 21/Dec/18 ] |
|
Author: {'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}Message: |