Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-61234 Expand support for $function returning scalar BSON values | Justin Seyster | 2022-03-26 | 10 | -17/+236 |
| | |||||
* | SERVER-63467 Create a shell helper that can be used to call compact ↵ | Erwin Pe | 2022-03-15 | 2 | -1/+10 |
| | | | | encryption data | ||||
* | SERVER-64298 Added some safety checks for failed JS constructor calls | Mohammad Dashti | 2022-03-08 | 1 | -8/+3 |
| | |||||
* | SERVER-61008 Upgrade vendorized mozjs to esr91.3 | Justin Seyster | 2022-03-07 | 47 | -296/+441 |
| | | | | Co-authored-by: Mohammad Dashti <mdashti@gmail.com> | ||||
* | SERVER-27209 Eliminate dangerous BSONElement string extraction methods | Matt Kneiser | 2022-01-13 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix: Change return type of BSONObj::getStringField to include size (StringData vs. char*). A char* only contains the data with an ending NULL termination. Whereas a StringData contains data + size so caller knows how to interpret data if there are embedded NULLs. - Cleanup: Remove old tag - CachedSizeTag - that disambiguated BSONElement ctors. A dangling reference to 'maxLen' in a comment led me to this historical issue. $ git log -S'maxLen' -- src/mongo/bson/bsonelement.h commit 0d38ef5 Author: Mathias Stearn mathias@10gen.com Date: Tue Dec 19 14:23:08 2017 -0500 SERVER-32302 Compute BSONElement sizes eagerly - Test: Add tests for NULL bytes being returned by getStringField - $ ninja -j400 +bson_obj_test - Cleanup: Move BSONElement::valuestr() from public to private - Cleanup: Remove BSONElement::valuestrsafe() - Cleanup: Remove all external callers of valuestr/valuestrsafe and cleanup their callsites with better alternatives. - Cleanup: Make multi-line BSONElement & BSONObj public API comments conform to style guidelines - Nit: Fix spelling in a comment | ||||
* | SERVER-58035 Remove db.runCommandWithMetadata from mongo shell | Blake Oler | 2021-12-21 | 2 | -19/+0 |
| | |||||
* | SERVER-61385 Migrate callers of 'DBClientBase::query()' legacy API to the ↵ | David Storch | 2021-12-21 | 2 | -10/+10 |
| | | | | | | | | | 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-47808 Add new registerChange overload to simplify Change code | Gabriel Marks | 2021-11-19 | 2 | -15/+2 |
| | |||||
* | SERVER-61403 Refactor doRunCommand implementation | Sara Golemon | 2021-11-12 | 1 | -9/+11 |
| | |||||
* | SERVER-31551 Test server-side JS property enumeration | Charlie Swanson | 2021-10-11 | 1 | -0/+1 |
| | |||||
* | SERVER-58210 Eliminate unnecessary RPC protocol negotiation code | David Storch | 2021-10-01 | 2 | -32/+0 |
| | |||||
* | SERVER-59234 Fix clang-12 warnings in C++20 mode | Andrew Morrow | 2021-09-17 | 1 | -1/+1 |
| | |||||
* | SERVER-59233 Don't apply clang/gcc warning suppressions on Windows | Andrew Morrow | 2021-09-16 | 1 | -1/+1 |
| | |||||
* | SERVER-59233 Suppress some warnings in third-party code or its use | Andrew Morrow | 2021-09-16 | 1 | -0/+9 |
| | |||||
* | SERVER-59782 migrate makeGuard calls to ScopeGuard | Billy Donahue | 2021-09-08 | 2 | -5/+5 |
| | |||||
* | SERVER-58670 Tighten up what kind of BSON the 'Query' type can be wrapped around | Irina Yatsenko | 2021-08-23 | 2 | -2/+4 |
| | | | | | | | | | 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-57446 fix clang-tidy header issues and add header-filter | Daniel Moody | 2021-08-02 | 1 | -1/+1 |
| | |||||
* | SERVER-58703 Change internal client to only support the OP_MSG RPC protocol | Yoonsoo Kim | 2021-08-02 | 2 | -22/+1 |
| | |||||
* | 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 | 2 | -72/+81 |
| | |||||
* | SERVER-58607 Error out on invalid values for CountDownLatchInfo's argument | Yoonsoo Kim | 2021-07-30 | 1 | -18/+33 |
| | |||||
* | SERVER-57462 Change the shell to use OP_MSG for exhaust queries instead of ↵ | Yoonsoo Kim | 2021-07-15 | 3 | -39/+15 |
| | | | | 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-57206 Resolve Compiler warnings in JSStringWrapper::JSStringWrapper | yingdongyuan | 2021-06-04 | 1 | -1/+2 |
| | | | | | | Signed-off-by: Andrew Morrow <acm@mongodb.com> Closes #1404 | ||||
* | SERVER-56777 Fix UB in valuewriter | Ian Boros | 2021-05-10 | 1 | -2/+6 |
| | |||||
* | SERVER-56585 replace MONGO_COMPILER_VARIABLE_UNUSED with c++17 attribute ↵ | Benety Goh | 2021-05-04 | 1 | -4/+2 |
| | | | | maybe_unused (.cpp files only) | ||||
* | SERVER-53605 Ensure replsettest.asCluster works with clusterAuthMode = x509 | Mark Benvenuto | 2021-05-03 | 2 | -1/+9 |
| | |||||
* | SERVER-54596 remove 1-arg shouldLog function (an ODR violation) | Billy Donahue | 2021-03-18 | 2 | -3/+3 |
| | |||||
* | SERVER-53671 Make ~PooledScope() resilient to 'InterruptedAtShutdown' exceptions | Mihai Andrei | 2021-02-05 | 1 | -63/+24 |
| | |||||
* | SERVER-38938 include metadata in command response | Robert Guo | 2021-01-19 | 2 | -0/+7 |
| | |||||
* | SERVER-52545 Define listIndexes with IDL | A. Jesse Jiryu Davis | 2020-12-16 | 2 | -5/+27 |
| | |||||
* | SERVER-30815 Added linter to check for unnecessary PUBLIC libdeps, and added ↵ | Daniel Moody | 2020-12-16 | 1 | -1/+3 |
| | | | | schema versioning. | ||||
* | Revert "SERVER-52545 Define listIndexes with IDL" | Lingzhi Deng | 2020-12-16 | 2 | -27/+5 |
| | | | | This reverts commit 0c132588e9907c7b123f986a61c3a43cd087381f. | ||||
* | SERVER-52545 Define listIndexes with IDL | A. Jesse Jiryu Davis | 2020-12-15 | 2 | -5/+27 |
| | |||||
* | SERVER-48291 Add global dependency pushdown to libdeps | Ryan Egesdahl | 2020-11-26 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | We sometimes have situations where a dependency applies at a large scope, such as in the case of tcmalloc, which can apply everywhere. What we have done previously is to hack these dependencies into the LIBDEPS environment variable by adding a builder to all nodes that can produce a compiler result. This is, as stated previously, hackish and hard to control, and it results in adding a Public dependency to all those nodes. What we now do instead is to define LIBDEPS_GLOBAL on the *build environment* (not the Builder node) listing the targets we would like to push down to all other nodes below that point. This has the effect of adding those targets as Private dependencies on all Builder nodes from that point downward, which means some common Public dependencies can be converted to a Private dependency that is stated only once. | ||||
* | SERVER-50388 Support $where operator in SBE | Nikita Lapkov | 2020-11-17 | 1 | -0/+1 |
| | |||||
* | SERVER-51827 Log and rethrow if ~PooledScope throws | David Percy | 2020-11-14 | 1 | -18/+66 |
| | |||||
* | SERVER-50882 Noisy log message, "Received interrupt request for unknown op" | Drew Paroski | 2020-11-03 | 1 | -9/+9 |
| | |||||
* | SERVER-43462 Remove cloneDatabase and copyDatabase shell helpers | Geert Bosch | 2020-10-27 | 2 | -83/+0 |
| | |||||
* | SERVER-50508 Rename ConnectionType::MASTER to ConnectionType::kStandalone | Ben Caimano | 2020-10-26 | 1 | -1/+1 |
| | |||||
* | SERVER-50511 Change local variables and functions in dbclient files | Amirsaman Memaripour | 2020-10-23 | 1 | -1/+1 |
| | |||||
* | SERVER-38289 Teach objects builders how to build idl files. | Daniel Moody | 2020-10-22 | 1 | -3/+3 |
| | |||||
* | SERVER-50917 util/ctype.h to replace <cctype> & <ctype.h> funcs | Billy Donahue | 2020-10-13 | 2 | -6/+10 |
| | |||||
* | SERVER-51084 tweak range loop variable types to fix xcode build | Billy Donahue | 2020-09-25 | 1 | -1/+1 |
| | |||||
* | SERVER-43909 clarify and repair util/hex.h API | Billy Donahue | 2020-09-15 | 1 | -11/+1 |
| | | | | | | | - hexblob namespace - Throwy hexblob::decode (nee fromHex) - StringData overloads of hex codec ops - add unsignedHex<T> and zeroPaddedHex<T> | ||||
* | SERVER-50622 Add logging for 'mr_killop_test_fp' failpoint | Justin Seyster | 2020-09-10 | 1 | -0/+1 |
| | |||||
* | SERVER-47391 convert strcpy to strncpy | c-childs | 2020-09-01 | 1 | -1/+1 |
| | |||||
* | SERVER-49703 Added libdep linter alphabetic rule and update all libdeps list ↵ | Daniel Moody | 2020-08-27 | 1 | -3/+3 |
| | | | | to be alphabetical | ||||
* | SERVER-49882 Log status in the catch block in JSThread::run() | Charlie Swanson | 2020-08-24 | 1 | -0/+6 |
| | |||||
* | SERVER-49380 Add API params to mongo shell | A. Jesse Jiryu Davis | 2020-08-20 | 2 | -2/+35 |
| |