[SERVER-37013] mongoebench-compatible JSON config files attempt to read from views without using "find" command Created: 06/Sep/18 Updated: 29/Oct/23 Resolved: 11/Sep/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.3, 4.1.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | read-only-views, tig-mobile | ||
| 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
|
||||||||
| Sprint: | TIG 2018-09-10, TIG 2018-09-24 | ||||||||
| Participants: | |||||||||
| Description |
|
The benchrun.py script defaults to --readCmd=false as seen in the mongoebench-compatible JSON config file with "readCmd" : false.
This causes DBClientConnection::findOne() to be called rather than DBClientConnection::runCommand() being called via runQueryWithReadCommands(). Legacy OP_QUERY reads do not support views - only the "find" command does. Changing the mongoebench-compatible JSON config files to be generated with --readCmd=true would address this issue. |
| Comments |
| Comment by Githook User [ 22/Sep/18 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: (cherry picked from commit 15a2a3112585edd869d5635dc05440cd3c43ba9c) |
| Comment by Githook User [ 22/Sep/18 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: (cherry picked from commit 5ab11584e45c4c1825d5cace58e5f31c59f19e62) |
| Comment by Githook User [ 22/Sep/18 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: The benchrun.py script defaults to --readCmd=false which would otherwise (cherry picked from commit a3c62ebeebb69982fda16697294827bb68a093bc) |
| Comment by Githook User [ 11/Sep/18 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: |
| Comment by Githook User [ 11/Sep/18 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: |
| Comment by Githook User [ 11/Sep/18 ] |
|
Author: {'name': 'Max Hirschhorn', 'email': 'max.hirschhorn@mongodb.com', 'username': 'visemet'}Message: The benchrun.py script defaults to --readCmd=false which would otherwise |