Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-30711: scope_guard rewrite, to avoid -Werror=noexcept-type | Billy Donahue | 2019-01-11 | 2 | -3/+3 |
| | | | | | | | | Macro ON_BLOCK_EXIT(...) now takes a single callable, Some renames: Dismias -> dismiss MakeGuard => makeGuard | ||||
* | SERVER-38838 Ensure JavaScript stack string isn't empty. | Max Hirschhorn | 2019-01-09 | 1 | -0/+12 |
| | |||||
* | SERVER-38510 Set moreToCome flag with OP_MSG writes from shell | A. Jesse Jiryu Davis | 2019-01-07 | 1 | -3/+45 |
| | |||||
* | SERVER-36644 remove AtomicWord typedefs | Billy Donahue | 2019-01-07 | 2 | -2/+2 |
| | |||||
* | SERVER-36902 Abort transaction on shell exit, try 2 | A. Jesse Jiryu Davis | 2019-01-03 | 4 | -5/+117 |
| | |||||
* | Revert "SERVER-36902 Abort transaction on shell exit" | Benety Goh | 2018-12-20 | 4 | -103/+5 |
| | | | | This reverts commit 759846ffced5ef84734bd917a99061edf44dd786. | ||||
* | Revert "SERVER-36902 Update jsTests for new shell transaction API" | Daniel Gottlieb | 2018-12-20 | 2 | -15/+2 |
| | | | | This reverts commit bf58b1ab2abfb2a3ab7a86c154f9f5954ed6f98c. | ||||
* | SERVER-36902 Update jsTests for new shell transaction API | A. Jesse Jiryu Davis | 2018-12-20 | 2 | -2/+15 |
| | |||||
* | SERVER-36902 Abort transaction on shell exit | A. Jesse Jiryu Davis | 2018-12-20 | 4 | -5/+103 |
| | |||||
* | SERVER-37527 Fix lifecycle management and clarify isDone->isSuccess | Sara Golemon | 2018-11-29 | 1 | -1/+1 |
| | |||||
* | SERVER-36740 Sometimes crashes on windows don't provide a backtrace | Mark Benvenuto | 2018-11-21 | 2 | -0/+14 |
| | |||||
* | SERVER-37124 Disambiguate DuplicateKey error and return keyPattern details ↵ | James Wahlin | 2018-11-16 | 1 | -0/+1 |
| | | | | in errorInfo object | ||||
* | SERVER-35212: Refactor shell code to enable default authentication database ↵ | Tyler Kaye | 2018-11-14 | 1 | -3/+2 |
| | | | | as admin | ||||
* | SERVER-37754 Remove duplicate copyright headers | Ramon Fernandez | 2018-10-25 | 1 | -26/+22 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 102 | -2044/+2267 |
| | |||||
* | SERVER-36272 Catch error in parsing values after % in URIs | Shreyas Kalyan | 2018-10-12 | 1 | -1/+1 |
| | |||||
* | SERVER-37294 Remove dependency on clientdriver_network and transport_layer ↵ | Henrik Edin | 2018-10-04 | 1 | -1/+2 |
| | | | | for embedded. | ||||
* | SERVER-30773 optimize bsonWoCompare/bsonBinaryEqual | ablack12 | 2018-10-02 | 1 | -31/+24 |
| | |||||
* | SERVER-30773 add functionality for bson element types | ablack12 | 2018-09-26 | 1 | -6/+22 |
| | |||||
* | SERVER-35154 Propagate JS exceptions through ScopedThread#join(). | Max Hirschhorn | 2018-09-18 | 7 | -32/+239 |
| | | | | | | This makes it so that if the ScopedThread exited due to an uncaught JavaScript exception, then calling .join() or .returnData() on it throws a JavaScript exception with the error message and stacktrace intact. | ||||
* | SERVER-37126 Always _runSafely in implscope | Jason Carey | 2018-09-17 | 1 | -94/+85 |
| | | | | Extends _runSafely use to all public methods on implscope | ||||
* | SERVER-36094 Make DBClientBase::query() take an NamespaceStringOrUUID | Matthew Russotto | 2018-08-14 | 2 | -4/+9 |
| | |||||
* | SERVER-33135 Remove metadata accessors from command reply APIs | Mathias Stearn | 2018-07-30 | 1 | -1/+0 |
| | | | | | Now that OP_COMMAND is dead, all remaining implementations return the same BSONObj for data and metadata. | ||||
* | SERVER-35847 Remove eval command and remove/update related tests/helpers | Sara Golemon | 2018-06-29 | 8 | -122/+20 |
| | |||||
* | SERVER-35115 Separate dbclientinterface.h into several parts, one per class. | Henrik Edin | 2018-06-29 | 8 | -11/+9 |
| | |||||
* | SERVER-34770 Retry on JavaScript execution interruptions in stepdown suites | Ben Caimano | 2018-06-08 | 2 | -24/+36 |
| | |||||
* | SERVER-35115 Decouple DBDirectClient from networking clients | Mathias Stearn | 2018-05-31 | 1 | -1/+1 |
| | |||||
* | SERVER-35275 rename fail point FP macros, improve docs | Billy Donahue | 2018-05-30 | 1 | -1/+1 |
| | |||||
* | SERVER-35061: Javascript sleep should error on premature wake | Spencer Jackson | 2018-05-23 | 6 | -29/+38 |
| | |||||
* | SERVER-28830 check for closed conn in cursorHandleFromId | Jason Carey | 2018-05-03 | 1 | -0/+3 |
| | | | | | | | | | The old implementation of DBCommandCursor used when running the shell with --readMode compatibility calls getConnection(which checks if the connection has been closed) to construct a DBClientCursor which it passes to setCursor. The new variant used with --readMode command calls setCursorHandle with the cursor ID. Check that we aren't closed in the new variant. | ||||
* | SERVER-34580 Plumb commit time to commit handlers when available | Judah Schvimer | 2018-05-03 | 1 | -1/+1 |
| | |||||
* | SERVER-31508: Make Javascript sleep interruptable | Spencer Jackson | 2018-04-27 | 5 | -15/+32 |
| | |||||
* | SERVER-34665 Update definition of retryable error in the mongo shell. | Max Hirschhorn | 2018-04-27 | 2 | -3/+49 |
| | | | | | | Also exposes a way to explicitly trigger retargeting before the next operation is run on the DBClientRS underlying a replica set connection by calling ReplicaSetMonitor::failedHost(). | ||||
* | SERVER-33980 Reduce dependencies for embedded commands | Andrew Morrow | 2018-03-29 | 1 | -0/+1 |
| | |||||
* | SERVER-32824 Incorrect interpreterVersion() reported in mongo shell | Ben Caimano | 2018-03-20 | 1 | -1/+1 |
| | | | | Switched hardcoded string to follow major version | ||||
* | SERVER-33275 Remove `platform/unordered_`* headers | ADAM David Alan Martin | 2018-02-14 | 2 | -5/+2 |
| | | | | | | These headers date from before C++11 support and the `::mongo::stdx::` namespace. They can be removed and uses of the names therein can be changed to `::mongo::stdx::unordered_`* forms. | ||||
* | SERVER-32072 Always roundtrip dbrefs in the shell | Jason Carey | 2018-02-01 | 4 | -31/+83 |
| | | | | | | | | dbrefs in the shell can see silent casts from int -> float due to a lack of special case logic that regular bson objects receive. For a fix, hook up the special lookup routines in js bsoninfo type into the js dbrefinfo types. | ||||
* | SERVER-32065 support retryWrites URI param in shell | Kevin Albertson | 2018-01-31 | 2 | -0/+10 |
| | |||||
* | SERVER-32094 support appname URI param in shell | Kevin Albertson | 2018-01-23 | 1 | -1/+2 |
| | |||||
* | SERVER-32239 Lossless status throwing in JS | Jason Carey | 2018-01-19 | 11 | -51/+315 |
| | | | | | | Enable throwing of status without conversion to error reports in spidermonkey. This will enable throwing of sidecars and other rich data through js land. | ||||
* | SERVER-32617 Fix code that reconstructs status with just code and string | Mathias Stearn | 2018-01-17 | 3 | -12/+7 |
| | |||||
* | SERVER-32587 Convert StaleConfigException to use ErrorExtraInfo | Mathias Stearn | 2018-01-17 | 1 | -0/+5 |
| | |||||
* | SERVER-32683 JS JIT off by default | Jason Carey | 2018-01-17 | 1 | -1/+1 |
| | | | | Turn off the spidermonkey jit by default. | ||||
* | SERVER-31354 Support driver API for changeStreams in the shell. | Siyuan Zhou | 2017-11-16 | 2 | -2/+15 |
| | |||||
* | SERVER-31641 stop gossiping between shell clients | Jason Carey | 2017-11-13 | 2 | -78/+1 |
| | | | | Mongo client objects in the shell should not gossip cluster time. | ||||
* | SERVER-31296 Update sessions, causal, and retryable in the mongo shell. | Max Hirschhorn | 2017-11-08 | 2 | -10/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Removes the initialClusterTime and initialOperationTime session options. * Enables causal consistency by default when using an explicit session. * Adds a --retryWrites command line option to the mongo shell for enabling retryable writes in the mongo shell. The retryWrites options to SessionOptions is left for convenience with testing. * Renames setClusterTime() to advanceClusterTime(), and adds a corresponding advanceOperationTime() method to DriverSession. * Enables assigning transaction numbers for write commands where ordered=false. * Prevents the mongo shell from sending afterClusterTime or assigning transaction numbers when talking to a stand-alone mongod. * Prevents the mongo shell from assigning transaction numbers when using an unacknowledged (w=0) writeConcern. * Changes DBClientRS to re-discover the current primary of the replica set when it receives an error code representing "not master" in addition to an error message representing "not master". * Adds a shellPrint() pretty-printer for SessionOptions and DriverSession instances so they no longer print out their entire object definition. | ||||
* | SERVER-31828 endSession in js should end sessions | Jason Carey | 2017-11-06 | 2 | -15/+2 |
| | | | | | | | | | | | | endSessions is of the form { endSessions: [] }, not { endSessions: 1, lsids: []}. fix it up and add a test | ||||
* | SERVER-31629 Replace ErrorCodes::fromInt() with ErrorCodes::Error() | Mathias Stearn | 2017-11-02 | 2 | -3/+2 |
| | | | | | No reason to have two ways to express the same thing, and we can't get rid of ErrorCodes::Error(). | ||||
* | SERVER-31456 Expose server type on Mongo connection object. | Max Hirschhorn | 2017-10-14 | 2 | -1/+18 |
| | | | | | | This makes it possible to prevent the mongo shell from gossiping a clusterTime to stand-alone mongod processes when the mongo shell is also connected to a replica set or a sharded cluster. | ||||
* | SERVER-30848 make shell getMores use sessions | Jason Carey | 2017-10-03 | 1 | -21/+18 |
| | | | | | The shell should attach the logical session used to initiate cursors (via find or aggregate) and use it for successive getMores. |