[SERVER-29913] bulk_api.js should use runCommand() rather than DBQuery().next() Created: 28/Jun/17 Updated: 30/Oct/23 Resolved: 24/Aug/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell, Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.13 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Mathias Stearn | Assignee: | Max Hirschhorn |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Sprint: | TIG 2017-09-11 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
The real work here is fixing the DatabaseDropPending workarounds from implicitly_retry_on_database_drop_pending.js to work with runCommand() rather than just DBQuery.next(). Another minor dependency is removing the assert that the dbname is valid from DBClientWithCommands::runCommandWithTarget() so that we can test how the server behaves with invalid dbnames. |
| Comments |
| Comment by Ramon Fernandez Marina [ 24/Aug/17 ] |
|
Author: {'username': u'visemet', 'name': u'Max Hirschhorn', 'email': u'max.hirschhorn@mongodb.com'}Message: Also changes the function override for Mongo.prototype.runCommand() in |
| Comment by Max Hirschhorn [ 22/Aug/17 ] |
|
Changing the behavior of DBClientWithCommands::runCommandWithTarget() was done already by Mathias as part of |