Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-68213 Modernize 'DBQuery' to avoid OP_QUERY-style format | David Storch | 2022-08-18 | 1 | -81/+16 |
| | |||||
* | SERVER-68214 move session_catalog*, session*, logical_session* to ↵ | Shin Yee Tan | 2022-08-17 | 1 | -2/+2 |
| | | | | mongo/db/session directory | ||||
* | SERVER-66554 Make FLE2 suites work with stepdown and kill_primary suites | Shreyas Kalyan | 2022-08-15 | 1 | -4/+14 |
| | |||||
* | SERVER-68246 rewrite calls to boost::optional get and is_initialized | Billy Donahue | 2022-07-27 | 1 | -1/+1 |
| | |||||
* | SERVER-67824 Rename IDLParserErrorContext to IDLParserContext | Hugh Tong | 2022-07-26 | 1 | -2/+2 |
| | |||||
* | SERVER-9434 Audit and Normalize Process Exit Codes | Matt Kneiser | 2022-07-07 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Put all references to ExitCode enumerators under an enum class to namespace all the enumerators and avoid polluting the mongo namespace with possible naming collisions. - Added magic-number exit codes to exit_code.h like 50 & 51 (LauncherMiddleError & LauncherError respectively). - Reserved a range of exit codes to account for FreeBSD's usage of 64-78. - Renamed all enums with removal of EXIT_ which could conflict or get confused with built-in macros. - camelCased all ExitCode enum values. - Added the generic - ExitCode::fail - for returning 1 as failure. - Added explicit dependency on the exit_code.h header for all files using ExitCode's. - Removed all references to implementation-defined exit codes like EXIT_FAILURE and EXIT_SUCCESS. - Narrowed return values of the shell's undocumented quit() argument to portable values within 0-255, 0/ExitCode::clean otherwise. - Deprecated 8 unused ExitCode's - java - oomMalloc - oomRealloc - fs - clockSkew - windowsServiceStop - possibleCorruption - test - Wrapped the 2 Windows-only ExitCode's in #ifdef's - ntServiceError - windowsServiceStop | ||||
* | SERVER-62206 Remove DBClientBase::query_DEPRECATED() | David Storch | 2022-06-22 | 1 | -0/+1 |
| | | | | | Also includes related simplifications to the implementation of 'DBClientCursor'. | ||||
* | SERVER-67148 Refactor ValidatedTenantId into ValidatedSecurityToken | Sara Golemon | 2022-06-15 | 1 | -3/+6 |
| | |||||
* | SERVER-65955 Migrate shell exhaust path onto modern internal client API | David Storch | 2022-06-10 | 1 | -11/+51 |
| | | | | | | | In doing so, this also fixes the shell's C++ native query path to correctly handle negative limit. The patch also includes additional preparatory work for deleting the query_DEPRECATED() internal client API. | ||||
* | SERVER-63467 Create a shell helper that can be used to call compact ↵ | Erwin Pe | 2022-03-15 | 1 | -0/+7 |
| | | | | encryption data | ||||
* | SERVER-61008 Upgrade vendorized mozjs to esr91.3 | Justin Seyster | 2022-03-07 | 1 | -13/+14 |
| | | | | Co-authored-by: Mohammad Dashti <mdashti@gmail.com> | ||||
* | SERVER-58035 Remove db.runCommandWithMetadata from mongo shell | Blake Oler | 2021-12-21 | 1 | -18/+0 |
| | |||||
* | SERVER-61385 Migrate callers of 'DBClientBase::query()' legacy API to the ↵ | David Storch | 2021-12-21 | 1 | -8/+8 |
| | | | | | | | | | modern 'find()' API There are a handful of remaining callers of the legacy API, either using the exhaust option or which are involved in a code path which still relies on the OP_QUERY-inspired BSON format. These should be cleaned up as follow-up work. | ||||
* | SERVER-61403 Refactor doRunCommand implementation | Sara Golemon | 2021-11-12 | 1 | -9/+11 |
| | |||||
* | SERVER-58210 Eliminate unnecessary RPC protocol negotiation code | David Storch | 2021-10-01 | 1 | -30/+0 |
| | |||||
* | SERVER-58670 Tighten up what kind of BSON the 'Query' type can be wrapped around | Irina Yatsenko | 2021-08-23 | 1 | -1/+3 |
| | | | | | | | | | This refactor includes: Remove dead code from 'Query' type and reduce it public interface. Split query argument in query/update/removed methods into filter BSON and settings (which are still passed around as 'Query' type). Remove Query(string) constructors. Remove most callers of 'Query(const BSONObj&)'. Replace public 'Query(const BSON&)' and 'Query.obj' with an explicit factory method and a getter. | ||||
* | SERVER-58703 Change internal client to only support the OP_MSG RPC protocol | Yoonsoo Kim | 2021-08-02 | 1 | -19/+0 |
| | |||||
* | SERVER-57461 Remove SPLIT_LIMITED_SORT and associated QueryPlanner code | Eric Cox | 2021-07-31 | 1 | -2/+2 |
| | |||||
* | SERVER-58381 Define and process kind(2) in OP_MSG payload | Sara Golemon | 2021-07-30 | 1 | -70/+79 |
| | |||||
* | SERVER-57462 Change the shell to use OP_MSG for exhaust queries instead of ↵ | Yoonsoo Kim | 2021-07-15 | 1 | -37/+0 |
| | | | | OP_QUERY | ||||
* | SERVER-57457 Close connection on receiving of OP_DELETE, OP_INSERT, ↵ | Irina Yatsenko | 2021-07-08 | 1 | -141/+0 |
| | | | | OP_UPDATE and OP_KILL_CURSORS | ||||
* | SERVER-53605 Ensure replsettest.asCluster works with clusterAuthMode = x509 | Mark Benvenuto | 2021-05-03 | 1 | -0/+7 |
| | |||||
* | SERVER-38938 include metadata in command response | Robert Guo | 2021-01-19 | 1 | -0/+6 |
| | |||||
* | SERVER-43462 Remove cloneDatabase and copyDatabase shell helpers | Geert Bosch | 2020-10-27 | 1 | -82/+0 |
| | |||||
* | SERVER-50508 Rename ConnectionType::MASTER to ConnectionType::kStandalone | Ben Caimano | 2020-10-26 | 1 | -1/+1 |
| | |||||
* | SERVER-49380 Add API params to mongo shell | A. Jesse Jiryu Davis | 2020-08-20 | 1 | -1/+33 |
| | |||||
* | SERVER-46189 Fix shell kill current ops with TLS replica set and down nodes | Mark Benvenuto | 2020-05-18 | 1 | -1/+1 |
| | |||||
* | SERVER-46696 mongo shell can end up creating multiple implicit sessions on ↵ | Randolph Tan | 2020-03-17 | 1 | -1/+2 |
| | | | | the same replica set connection | ||||
* | SERVER-42437 Make ReplicaSetMonitorManager a ServiceContext decoration | Haley Connelly | 2020-02-21 | 1 | -1/+1 |
| | |||||
* | SERVER-41772 Apply clang-format 7.0.1 to the codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -5/+4 |
| | |||||
* | SERVER-41071 Replace NULL and 0 with nullptr | A. Jesse Jiryu Davis | 2019-06-14 | 1 | -1/+1 |
| | |||||
* | SERVER-39339 Remove `stdx/memory.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -2/+3 |
| | |||||
* | SERVER-41124 Remove default collection from keystore API | Shreyas Kalyan | 2019-05-29 | 1 | -2/+4 |
| | |||||
* | SERVER-39896 Write shell JS API for explicitly encrypting and decrypting data | Shreyas Kalyan | 2019-05-03 | 1 | -0/+50 |
| | |||||
* | SERVER-39894 Add support for AWS credentials in the shell | Shreyas Kalyan | 2019-04-15 | 1 | -0/+17 |
| | |||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -1/+0 |
| | | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines. | ||||
* | SERVER-29286 import and use mozjs-60 | Gabriel Russell | 2019-01-30 | 1 | -1/+1 |
| | |||||
* | Revert "SERVER-29286 import and use mozjs-60" | Gabriel Russell | 2019-01-29 | 1 | -1/+1 |
| | | | | This reverts commit a3d232b697dfc7c8833fc1855abbc190fe0d5970. | ||||
* | SERVER-29286 import and use mozjs-60 | Gabriel Russell | 2019-01-29 | 1 | -1/+1 |
| | |||||
* | SERVER-38510 Set moreToCome flag with OP_MSG writes from shell | A. Jesse Jiryu Davis | 2019-01-07 | 1 | -3/+45 |
| | |||||
* | SERVER-37527 Fix lifecycle management and clarify isDone->isSuccess | Sara Golemon | 2018-11-29 | 1 | -1/+1 |
| | |||||
* | SERVER-35212: Refactor shell code to enable default authentication database ↵ | Tyler Kaye | 2018-11-14 | 1 | -3/+2 |
| | | | | as admin | ||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -21/+23 |
| | |||||
* | SERVER-36094 Make DBClientBase::query() take an NamespaceStringOrUUID | Matthew Russotto | 2018-08-14 | 1 | -3/+8 |
| | |||||
* | 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 | 1 | -56/+20 |
| | |||||
* | SERVER-35115 Separate dbclientinterface.h into several parts, one per class. | Henrik Edin | 2018-06-29 | 1 | -1/+1 |
| | |||||
* | 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-34665 Update definition of retryable error in the mongo shell. | Max Hirschhorn | 2018-04-27 | 1 | -2/+47 |
| | | | | | | 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 |
| |