summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-29198 Implement ServiceLiasonMongodsamantharitter2017-07-067-5/+188
|
* SERVER-29762 Look up arrays by index during update.Justin Seyster2017-07-069-58/+290
| | | | | | | | | | | | | | | | | | | This patch moves getPositionalPathSpecification() from its location in document_path_support.h to stringutils.h, where it is renamed to parseUnsignedBase10Integer(). This function should now be what all code uses that needs to use a path component to look up an element in an array. There are two problems with trying to look up an array element by string, which this patch addresses (for one particular case). The first is that it will fail if the path component has leading zeros (e.g. "a.01.b"). The second problem is that mutable BSON does not maintain the invariant that array elements have their index as their field name throughout the entire lifetime of the mutable document. Array lookups by string fail during the times that this invariant does not hold (notably, after a mutable array has been extended in length).
* SERVER-27699 Capture actual error from getExecutorNatalia Jacobowitz2017-07-065-42/+15
|
* SERVER-29914 Fix message wordingGeert Bosch2017-07-051-1/+1
|
* SERVER-29130 Make $changeNotification stage return entries in the proper formatSiyuan Zhou2017-07-055-42/+335
|
* SERVER-29462 Align locks in mongo::Paritioned to avoid false sharingAndrew Morrow2017-07-0542-12/+1596
| | | | This reverts commit 5a933be9235b7d02bb5c790c7ff7eba3a867c43a.
* SERVER-22766 wiredtiger engine support update oplogsize onlinewolfkdy2017-07-0514-84/+229
|
* SERVER-29914 correctly progagate UUIDs for rename across dbsGeert Bosch2017-07-051-39/+106
|
* SERVER-29956 Chained structs inside a command produce non-compilable codeMark Benvenuto2017-07-051-0/+15
|
* SERVER-29817 Do not use chunk map data structure in ChunkManager interface.Andy Schwerin2017-07-056-20/+54
|
* SERVER-29817 Always intialize bytesWritten to 0 for chunks.Andy Schwerin2017-07-053-26/+3
| | | | | | Previously, it was initialized to a pseudorandom value that was less than some fraction of the maximum chunk size. This introduced a depencency between the chunk constuctor and the balancer, and provided no particular value.
* SERVER-29685 do not process ttl indexes on drop-pending collectionsBenety Goh2017-07-051-0/+3
|
* SERVER-29860 Initial ChunkSizeTracker and Unit TestsHugh Han2017-07-054-0/+390
| | | | | Initial version of a ChunkSizeTracker, which includes the ability to track bytes for specific ranges, as well as forget about ranges.
* SERVER-29575 fix lintKyle Suarez2017-07-051-1/+1
|
* SERVER-27198 Remove ASIO based MessagingPort implementationAndrew Morrow2017-07-0522-1414/+28
| | | | | Also, consolidate the libraries in util/net, as they don't seem to need to be separate.
* SERVER-29863 Add optional sessionId, txnNum, stmtId fields to oplog entry idlJack Mulrow2017-07-052-0/+12
|
* SERVER-29912 Require argument to $pop to be 1 or -1.David Storch2017-07-057-88/+179
|
* SERVER-28248 Fix move construction of ↵Kaloian Manassiev2017-07-052-1/+28
| | | | NamespaceMetadataChangeNotifications::ScopedNotification
* SERVER-29919 Change BSONElement::operator[] to take field as StringDataJames Wahlin2017-07-052-2/+2
|
* Failed: lint on ! Enterprise RHEL 6.2 [MongoDB (master) @ 4ca0e0a5]Anne Lim2017-07-051-1/+1
|
* SERVER-29575: Add an $_internalSchemaXor MatchExpressionAnne Lim2017-07-058-3/+294
|
* SERVER-29925 Only canonicalize bson types if they differMathias Stearn2017-07-032-14/+15
|
* Fix comment formatting.Ian Kuehne2017-07-032-15/+8
|
* SERVER-29544 Remove deprecated macro calls.Ian Kuehne2017-07-0337-504/+486
|
* SERVER-29904 don't generate convertToCapped oplog entriesGeert Bosch2017-07-036-114/+43
|
* SERVER-29935 Clarify SingleDocumentTransformation's explain.Charlie Swanson2017-07-0310-44/+50
| | | | | It's slightly different than that on DocumentSource, which should be more obvious.
* SERVER-29414 move the logic of the movePrimary into the new ↵Jessica Yu2017-07-036-251/+313
| | | | _configsvrMovePrimary command
* SERVER-28903 Implement session transaction record inserts/updatesRandolph Tan2017-07-038-52/+574
|
* SERVER-28903 Make Transaction state store last write optime instead of write ↵Randolph Tan2017-07-0310-91/+161
| | | | results
* Revert "SERVER-29462 Align locks in mongo::Paritioned to avoid false sharing"Benety Goh2017-07-032-78/+5
| | | | This reverts commit edc858ca3a32974c07f027e6860a52ac6e89039b.
* SERVER-29462 Align locks in mongo::Paritioned to avoid false sharingAndrew Morrow2017-07-012-5/+78
|
* SERVER-29910 Make RoleGraph non-copyable (but movable)Sara Golemon2017-07-014-62/+11
| | | | Unrevert and apply MSVC workarounds.
* Revert "SERVER-29910 Make RoleGraph non-copyable (but movable)"Kaloian Manassiev2017-06-304-15/+62
| | | | This reverts commit 41cd527620d94a11362f2a5a1aa86643be22d36e.
* SERVER-29162 UpdateNode implementation should only validate modified fieldsTess Avitabile2017-06-3043-573/+3177
|
* SERVER-29911 Use shared_ptr for Restriction setsSara Golemon2017-06-301-18/+29
|
* SERVER-29910 Make RoleGraph non-copyable (but movable)Sara Golemon2017-06-304-62/+15
| | | | | | | | | | Changed explicit trivial constructor to `default`. Removed explicit trivial destructor for non-virtual class. Declared `default` move-assignment and move-constructor methods. Removed `swap` implementations in favor of move assignment. Removed a test which dealt specifically with copyability since the class is no longer copyable.
* SERVER-29499 Schedule a catchup takeover on receiving heartbeats from the ↵Samy Lanka2017-06-3011-26/+606
| | | | current primary
* SERVER-29405 delay deleting orphaned shard chunksNathan Myers2017-06-3013-284/+454
| | | | | | | | | | | | | | When deleting the donor range after migrating a chunk off of a shard, the range deleter will schedule the deletion at some time in the future, according to a server parameter orphanCleanupDelaySecs, which defaults to 900, or 15 minutes. It does not delay range deletions preparatory to migrating a range in, and does not put off deleting the donor range if the moveChunk command has set the option _waitForDelete. The file jstests/sharding/write_commands_sharding_state.js had CR (0x0D) line endings, which made the patch fail lint. The substantive changes in the file were to add "_waitForDelete" options to the moveChunk commands.
* SERVER-28248 Use Notification<void> in the VersionNotifications classKaloian Manassiev2017-06-3011-493/+323
| | | | | And rename the class to NamespaceMetadataChangeNotifications to better reflect its new simplified purpose.
* SERVER-29938 FTDC RefactorMark Benvenuto2017-06-309-347/+492
|
* SERVER-29779 Add OpMsgRequest parsing and serialization to IDLMark Benvenuto2017-06-304-25/+597
|
* SERVER-28693 Use getrusage() to report the number of major page faults on linuxTyler Kaye2017-06-301-4/+7
|
* SERVER-28613: Fixed memory leak while fetching a timelib_time.Derick Rethans2017-06-302-13/+25
|
* SERVER-29371 Check auth for nested $lookup pipelinesJames Wahlin2017-06-304-73/+263
|
* Revert "SERVER-29575: Add an $_internalSchemaXor MatchExpression"Anne Lim2017-06-308-316/+1
| | | | This reverts commit 097564f0404b75305767143dd322b115606e61bc.
* SERVER-29575: Add an $_internalSchemaXor MatchExpressionAnne Lim2017-06-308-1/+316
|
* SERVER-28774 Fix SConscript breakage resulting from a rebase.Justin Seyster2017-06-291-1/+1
| | | | | | The broken SConscript absolutely built and ran correctly on my test machine! I guess there was a file named rename_node_test lying around that linked successfully into the final binary?
* SERVER-28774 Add RenameNode.Justin Seyster2017-06-2911-17/+1438
| | | | | | | | | | | | | | | | A $rename is implemented with two UpdateLeafNode classes: RenameNode and ConflictPlaceholderNode. The ConflictPlaceHolder node exists only to mark the source path of the rename in the update tree, so that it generates a conflict if another modifier tries to act on the same path. Actually writing the destination path and unsetting the source path occurs in RenameNode apply method. The RenameNode gets placed in the update tree according to its destination path, so that when we reach the RenameNode apply method, pathTaken and pathToCreate are with respect to the destination path, allowing us to create the path if we need to.
* SERVER-28769 Implement PopNode.David Storch2017-06-298-63/+821
|
* SERVER-29874 dropDatabase() releases locks when awaiting replicationBenety Goh2017-06-292-30/+100
| | | | | This allows dropDatabase() to work with applyOps when we have to wait for collection drops to replicate