summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-28551 Implementation of `void_t` in stdx.ADAM David Alan Martin2017-03-301-0/+26
| | | | | | There are a lot of template metaprograms and `std::enable_if` expressions which we'd like to use in our codebase. This import of a C++17 future feature will help make them easier to write.
* SERVER-28352 fix lintDianna Hohensee2017-03-301-1/+1
|
* SERVER-28352 Fix ticks increment in LogicalClock::reserveTicksWilliam Schultz2017-03-304-21/+64
|
* SERVER-26025 Smart pointer with clone on copyADAM David Alan Martin2017-03-3012-0/+2031
| | | | | | | This clonable pointer works like a unique_ptr, but upon copy it invokes a customizable cloning function. A `clone` member function is used by default. There exist several customization points.
* SERVER-28528 Remove some unnecessary cycle marksADAM David Alan Martin2017-03-307-69/+47
| | | | | There were some superfluous cycle markings which can be easily resolved, now that some parts of the dependency graph are fixed.
* SERVER-28432 Move key management out from TimeProofServiceJack Mulrow2017-03-3013-56/+42
|
* SERVER-27937 pull apart the AsyncResultsMerger logic into (1) establishing ↵Esha Maharishi2017-03-3014-903/+895
| | | | the cursors (2) sending the getMore's
* SERVER-28542 make ARS store interrupt status instead of CallbackCanceled in ↵Esha Maharishi2017-03-304-15/+20
| | | | remotes if interrupted
* SERVER-25717 Negative push index out of bounds should default to beginning ↵Tess Avitabile2017-03-292-6/+9
| | | | of array
* SERVER-28211 removed StorageInterface::startup() and shutdown() functionsBenety Goh2017-03-297-28/+1
| | | | | | There is no need for StorageInterface implementations to have any active internal state. These functions stopped doing anything meaningful since f8c4d2025431d83cda24c1a193321952372674c7.
* SERVER-26452: WCE retry on renameCollection. Address possible dassert in ↵Daniel Gottlieb2017-03-295-23/+35
| | | | | | | | | | | | | | | | | | | | | | dropIndex. Add a write conflict retry loop around the fast-path for renameCollection, when the source and target collection are in the same database. Additionally, when indexes are being dropped, remove them from the collection info cache before removing them from the catalog (`_deleteFromDisk`). Removing an index from a catalog can result in a WriteConflictException that triggers the rollback on the IndexRemoveChange. The rollback adds the index back into the collection info cache, which dasserts the index does not exist. Lastly, this patch separates out the WTWriteConflictException failpoint into one for modifications (WT_CUSOR::insert/remove etc...) and one for reads (WT_CURSOR::search/next etc...). The new failpoint is named `WTWriteConflictExceptionForReads`. Commands that only roll a die for the read failpoint include `listCollections` and `validate`. This distinction is useful for resmoke/js tests that are not resilent to those commands failing with a write conflict.
* SERVER-28532 Implement UUID::appendToBuilderGeert Bosch2017-03-292-5/+13
|
* SERVER-28531 Fix convert-to-capped to use new UUID.Geert Bosch2017-03-291-9/+9
|
* SERVER-28306 IDL Code GeneratorMark Benvenuto2017-03-299-0/+1170
|
* SERVER-27831: Push threadsafety responsibility inside of KVCatalog's RecordStoreDaniel Gottlieb2017-03-2911-108/+74
| | | | | | | | | | | | | | | | | | | | RecordStores that don't implement document level locking are typically protected from concurrent reads and writes. However one exception is the RecordStore passed into KVCatalog. Previously, if StorageEngine::supportsDocLocking was false, the KVCatalog would use an additional lock that participated in two phase locking to ensure reader-writer protection to the underlying record store (and more specifically, delay releasing until any potential rollbacks were processed). However, access to the catalog can happen anywhere and this lock did not have a formally assigned acquisition time relative to other locks resulting in potential deadlocks. This patch forces the thread-safety requirement into the RecordStore. Specifically, EphemeralForTest was changed to acquire a finer grained lock (i.e: does not participate in two-phase locking) to protect its internal state. Now that the lock exists inside EphemeralForTest, it is also able to grab the lock when needed for the onCommit/onRollback callbacks.
* SERVER-27458 SERVER-28322 Remove outdated buildersAndrew Morrow2017-03-296-126/+23
|
* SERVER-28376 ReplSetTest.stepUp() calls awaitReplication() before sending ↵Benety Goh2017-03-291-1/+8
| | | | replSetStepUp command
* SERVER-28376 remove requirement for node 0 of every shard to be primary in ↵Benety Goh2017-03-291-2/+8
| | | | ShardingTest initialization
* SERVER-28376 split ReplSetTest.initiate() into 3 functions.Benety Goh2017-03-281-3/+32
| | | | | | ReplSetTest.initiateWithAnyNodeAsPrimary() ReplSetTest.initiateWithNodeZeroAsPrimary() ReplSetTest.initiate() - alias for initiateWithNodeZeroAsPrimary()
* SERVER-28502 Only capture debug allocator stack samples on intel platformsAndrew Morrow2017-03-281-5/+10
|
* SERVER-28376 remove references to unsupported ReplSetTest.initiate() ↵Benety Goh2017-03-281-8/+3
| | | | | | initiateTimeout option. This option was removed in SERVER-27810.
* SERVER-28438 Add keyId field to logicalTime objectJack Mulrow2017-03-287-16/+103
|
* SERVER-25717 Allow for negative push indexesTess Avitabile2017-03-283-22/+144
|
* SERVER-28025 Sever `index_access_method`'s catalog dependency.ADAM David Alan Martin2017-03-2811-375/+724
| | | | | Slice this dependency by inserting an `IndexCatalogEntry` proxy class with a pure vtable, and exposing an inline version of `Collection::docFor`.
* SERVER-28491 Re-host unit tests that used ReplicationExecutorTest onto ↵Andy Schwerin2017-03-2722-804/+614
| | | | ThreadPoolExecutorTest.
* SERVER-28489 MockStream hook methods may still be used if the stream gets ↵samantharitter2017-03-241-2/+2
| | | | canceled
* SERVER-28489 Add documentation to mock stream frameworksamantharitter2017-03-241-0/+59
|
* SERVER-27727 Note location where thread is marked idleMathias Stearn2017-03-2431-44/+51
|
* SERVER-27727 Hide idle threads in hang analyzer (extras)Mathias Stearn2017-03-2429-199/+100
|
* SERVER-27727 Hide idle threads in hang analyzer (core only)Mathias Stearn2017-03-246-2/+123
|
* SERVER-27727 Make threadName a native thread_local so debuggers can get to itMathias Stearn2017-03-2412-45/+59
|
* SERVER-27834 disable implicit collection creation in IndexBuilderBenety Goh2017-03-241-16/+3
|
* SERVER-27834 FeatureCompatibilityVersion creates the admin.system.version ↵Benety Goh2017-03-241-0/+13
| | | | | | collection if missing. This avoids relying on the implicit collection behavior in IndexBuilder.
* SERVER-27834 applyOperation_inlock() fails index creation if collection is ↵Benety Goh2017-03-242-0/+51
| | | | missing
* SERVER-28347 enforce storage depth limit for user documentsKyle Suarez2017-03-2411-49/+661
| | | | | | | Introduces a nesting depth limit for document storage, which is lower than the hard limit for general BSONObjects. Users cannot insert documents exceeding this limit, nor can they update a document to exceed it.
* SERVER-22954 Do not call into the MMAPV1 storage engine on the recipient shardKaloian Manassiev2017-03-242-29/+23
| | | | | | | | | Removes direct calls into MMAPV1 at migration flush time and replaces them with waitForWriteConcern which takes care of non-durable storage engines as well. As a side effect this also removes the last acquisition of the global S lock during chunk migrations.
* SERVER-28204 added server parameter to select between 3.4 and 3.6 rollback ↵Benety Goh2017-03-233-60/+135
| | | | | | implementations This server parameter is set to use the 3.6 implementation as the default.
* Revert "SERVER-28400 Firefox ESR 45.8.0"Mark Benvenuto2017-03-2389-1588/+811
| | | | This reverts commit 41d56f108e341c88fe26632084d6140ea75813c0.
* SERVER-28353 make ARS actually interruptible from the deadline on the ↵Esha Maharishi2017-03-232-46/+56
| | | | OperationContext
* SERVER-28204 added Rollback interface and 3.6 implementationBenety Goh2017-03-235-0/+844
| | | | This is a stub implementation of the new 3.6 rollback algorithm.
* SERVER-28204 added RollbackTest fixtureBenety Goh2017-03-2310-58/+308
|
* SERVER-28400 Firefox ESR 45.8.0Mark Benvenuto2017-03-2389-811/+1588
|
* Revert "SERVER-19019 prohibit mapReduce on system collections"Kyle Suarez2017-03-231-6/+1
| | | | | This reverts commits dea0ff9c2f1dd175aabce90a41c8e4d50e282401 and e9926e58d9f533e43ea43ca3f325d3baecf61276.
* SERVER-27786 Implement _computeOperationTimeJack Mulrow2017-03-231-12/+61
|
* SERVER-28430 Expose dropConnections() method on ConnectionPool through the ↵Judah Schvimer2017-03-236-0/+22
| | | | NetworkInterface
* SERVER-19019 prohibit mapReduce on system collectionsKyle Suarez2017-03-231-1/+6
|
* SERVER-21538 Use mockable cv wait in background_thread_clock_source_testMathias Stearn2017-03-223-35/+55
| | | | | This both makes the test run much faster and avoids spurious failures when the system scheduler decides not to run a thread for over a second.
* SERVER-28421 Implement ClockSource::waitForConditionUntil()Mathias Stearn2017-03-224-55/+128
|
* SERVER-27439 Large queries can omit comment in currentOpBernard Gorman2017-03-221-13/+54
|
* Revert "SERVER-26025 Smart pointer with clone on copy"Randolph Tan2017-03-2212-1803/+0
| | | | This reverts commit 5d141bce7219aeb34d3de8cfae68d643bf9a3a16.