summaryrefslogtreecommitdiff
path: root/src/mongo/bson
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-46699 Report the oplog visibility timestamp in FTDCJamie Heppenstall2020-04-161-1/+1
| | | | (cherry picked from commit 454e1823bbbe7cc25d6f34856913d8161d729e4b)
* SERVER-47040 LOGV2_FATAL also fassertsHenrik Edin2020-03-261-4/+2
| | | | | | Added LOGV2_FATAL_NOTRACE and LOGV2_CONTINUE to have different behavior. (cherry picked from commit edb8778350326d2b33f056b1b5f0b25a4b5b444a)
* SERVER-46843 Format ISO-8601 date time zone offset according to RFC 3339 ↵Henrik Edin2020-03-162-56/+57
| | | | | | Section 5.6 (cherry picked from commit d187a3297df58c624d1e53f10959b3920ea218c4)
* SERVER-46406 Perf improvements in the logger.Henrik Edin2020-03-166-40/+140
| | | | | | Use fmt::compile and fmt::format_int when possible. (cherry picked from commit 5094b4f2f2ee9de07dc4c3d3c320e967595496f1)
* SERVER-44095 Initialize TypeBits buffer to a smaller sizeLouis Williams2020-03-113-27/+28
| | | | | | | This lowers the memory overhead of index key generation by reducing the initial buffer size in TypeBits from 512 to 8 bytes. (cherry picked from commit 4994a4809269c30a28cdbb686c8c876fad7b163a)
* SERVER-46002 Attach core read mirroring functionalityBen Caimano2020-02-272-7/+18
|
* SERVER-45460 Mark CodeWithScope as deprecated in bsontypes.hJames Wahlin2020-02-261-5/+5
|
* SERVER-46361 Format UUID as $uuid:<string> in logv2Henrik Edin2020-02-253-3/+62
|
* SERVER-46219 Unit Tests should log with jsonMark Benvenuto2020-02-251-6/+6
|
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-215-5/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-46071 Handle nan/inf/out-of-range inputs to integral set parameter valuesSara Golemon2020-02-211-0/+58
|
* SERVER-46107 Manual conversion of log statementsHenrik Edin2020-02-132-14/+0
|
* SERVER-45869 automatically converted structured loggingGabriel Russell2020-02-135-15/+33
|
* SERVER-46058 Redaction of BSONObj results in BSONObj and not a string.Henrik Edin2020-02-122-8/+44
|
* SERVER-46017 Add truncation support for JSON formatterHenrik Edin2020-02-114-120/+212
| | | | Truncated objects will report truncation status in 'truncated' and 'size' sub objects.
* SERVER-45118 Improve comments for BSONElement::numberInt() and ↵David Storch2020-01-151-7/+17
| | | | BSONElement::numberLong().
* SERVER-41700 query $type:xxx defaults to exact bounds or inexact covered ↵Sophie Saskin2019-12-202-5/+36
| | | | bounds whenever possible
* SERVER-44623 Rework JSON generation from BSONObjHenrik Edin2019-12-1810-282/+823
| | | | | | | - Extended Canonical/Relaxed 2.0.0 is supported - Using libfmt instead of stringstream as internal buffer - JSON parser can parse Extended Canonical/Relaxed and Strict formats - Removed TenGen format
* SERVER-45057 make base64 encode/decode 22x/15x fasterBilly Donahue2019-12-181-1/+1
|
* SERVER-44102 Optimize bsonelement constructorGeert Bosch2019-10-294-45/+69
|
* SERVER-43775 BSON errors should log memory contextLouis Williams2019-10-222-3/+53
| | | | | When an invalid type is detected in a BSONElement, print the address and surrounding memory in an attempt to provide context around the error.
* SERVER-44111 Assert BSONObj size is valid while copyingLouis Williams2019-10-211-2/+28
|
* Revert "SERVER-41994 correctly create and show type 2 binary elements"Gabriel Russell2019-10-154-37/+6
| | | | This reverts commit 3f6ba750fc8374968c3c06e31c67ac2839e9a736.
* SERVER-43641 upgrade random.hBilly Donahue2019-10-091-7/+6
| | | | This reverts commit a40b196bd3cecd0b66a6323f57e6f08efe0af392.
* Revert "SERVER-43641 upgrade random.h"James Wahlin2019-10-021-6/+7
| | | | This reverts commit 96da177c6ae7b7ed0f29983ad033d8a59524b0b2.
* SERVER-43641 upgrade random.hBilly Donahue2019-10-021-7/+6
| | | | | | | | | | | | | | | | | | | | | Respecify PseudoRandom and SecureRandom as template instances of a `mongo::RandomBase<Urbg>` (Urbg is a UniformRandomBitGenerator). They will only vary in which algorithm they use for their source bits, and should otherwise support the same exact operations (e.g. `nextCanonicalDouble`). Fix range and stats errors in the implementations of those RandomBase methods, and specify them in terms of the vetted `<random>` facilities. Test uniformity of nextInt32(max), which uses an inappropriate ( x % max) operation. Verify that refactor fixes this issue. Just keep a shared urandom file descriptor open. SecureRandom add fill, remove create, fix callers Obsoletes SERVER-43643 Re: SecureRandom 8kiB buffering
* SERVER-41994 correctly create and show type 2 binary elementsGabriel Russell2019-09-104-6/+37
|
* SERVER-42815 Remove unused BSONElement::codeWScopeScopeDataUnsafe() methodJames Wahlin2019-08-291-16/+0
|
* SERVER-41961 Remove the `NOINLINE_DECL` and replace with ↵ADAM David Alan Martin2019-08-155-53/+7
| | | | | | `MONGO_COMPILER_NOINLINE` Also removed the `PACKED_DECL`, since it isn't used.
* SERVER-41721 Make IndexAccessMethod::getKeys output a KeyString setGregory Noma2019-08-082-0/+23
|
* SERVER-42657 Make DataType<BSONObj> noexcept safeJonathan Reams2019-08-072-4/+11
|
* SERVER-42067 Ensure key Ordering offset does not exceed the maximum number ↵Louis Williams2019-08-051-0/+3
| | | | of compound index keys
* SERVER-40160 Remove `if_constexpr.h` header.ADAM David Alan Martin2019-07-271-6/+3
| | | | | | | This header circumvented bad formatting which `clang-format-3.8` imparted to `if constexpr`. Now `clang-format-7.0.1` imparts a reasonable format to `if constexpr` so this header is not needed anymore.
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-2720-116/+77
|
* SERVER-41989 Fix exception safety in `BSONObjBuilder::asTempObj`.ADAM David Alan Martin2019-07-263-43/+42
| | | | | | The setting of `_doneCalled` too early allows for it to remain set after an exception is thrown. This will cause invariant violations under some conditions.
* SERVER-41658 Convert ShardCollectionType into an IDL typeJamie Heppenstall2019-07-122-0/+7
|
* SERVER-42034 remove BSONObjBuilder::numStrBilly Donahue2019-07-093-37/+15
| | | | Callers are better with either DecimalCounter or std::to_string.
* SERVER-9763 Remove BSONObjBuilder append unsigned methodAlya Berciu2019-07-034-113/+153
|
* SERVER-40968 Core DocumentStorage changes for Document/Value optimizationMartin Neupauer2019-07-021-2/+2
|
* SERVER-7143 replace standard library number parsing with custom NumberParserNathan Brown2019-06-274-101/+95
|
* SERVER-41705 fix lint againBenety Goh2019-06-241-1/+0
|
* SERVER-41705 fix lintBenety Goh2019-06-241-1/+2
|
* SERVER-41705 Add BSON validator fuzzing testRoxane2019-06-242-0/+45
|
* SERVER-41809 Collapse unit tests on a per-directory basisAndrew Morrow2019-06-203-95/+12
|
* SERVER-41071 Replace NULL and 0 with nullptrA. Jesse Jiryu Davis2019-06-1417-44/+47
|
* SERVER-39338 Remove `stdx/functional.h`ADAM David Alan Martin2019-06-103-6/+5
|
* SERVER-41563 BSONObjBuilder mutators must return *thisBilly Donahue2019-06-072-43/+46
|
* SERVER-8544 Disable having duplicate regex options in JSON parsingNathan Brown2019-06-042-1/+5
|
* SERVER-17311 Ensure BSONObj, RecordData, and SharedBuffer are noexcept moveableAlya Berciu2019-06-031-0/+4
|
* SERVER-40802 stop using boost::container::flat_setMathias Stearn2019-05-012-34/+0
|