Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-28551 Implementation of `void_t` in stdx. | ADAM David Alan Martin | 2017-03-30 | 1 | -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 lint | Dianna Hohensee | 2017-03-30 | 1 | -1/+1 |
| | |||||
* | SERVER-28352 Fix ticks increment in LogicalClock::reserveTicks | William Schultz | 2017-03-30 | 4 | -21/+64 |
| | |||||
* | SERVER-26025 Smart pointer with clone on copy | ADAM David Alan Martin | 2017-03-30 | 12 | -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 marks | ADAM David Alan Martin | 2017-03-30 | 7 | -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 TimeProofService | Jack Mulrow | 2017-03-30 | 13 | -56/+42 |
| | |||||
* | SERVER-27937 pull apart the AsyncResultsMerger logic into (1) establishing ↵ | Esha Maharishi | 2017-03-30 | 14 | -903/+895 |
| | | | | the cursors (2) sending the getMore's | ||||
* | SERVER-28542 make ARS store interrupt status instead of CallbackCanceled in ↵ | Esha Maharishi | 2017-03-30 | 4 | -15/+20 |
| | | | | remotes if interrupted | ||||
* | SERVER-25717 Negative push index out of bounds should default to beginning ↵ | Tess Avitabile | 2017-03-29 | 2 | -6/+9 |
| | | | | of array | ||||
* | SERVER-28211 removed StorageInterface::startup() and shutdown() functions | Benety Goh | 2017-03-29 | 7 | -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 Gottlieb | 2017-03-29 | 5 | -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::appendToBuilder | Geert Bosch | 2017-03-29 | 2 | -5/+13 |
| | |||||
* | SERVER-28531 Fix convert-to-capped to use new UUID. | Geert Bosch | 2017-03-29 | 1 | -9/+9 |
| | |||||
* | SERVER-28306 IDL Code Generator | Mark Benvenuto | 2017-03-29 | 9 | -0/+1170 |
| | |||||
* | SERVER-27831: Push threadsafety responsibility inside of KVCatalog's RecordStore | Daniel Gottlieb | 2017-03-29 | 11 | -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 builders | Andrew Morrow | 2017-03-29 | 6 | -126/+23 |
| | |||||
* | SERVER-28376 ReplSetTest.stepUp() calls awaitReplication() before sending ↵ | Benety Goh | 2017-03-29 | 1 | -1/+8 |
| | | | | replSetStepUp command | ||||
* | SERVER-28376 remove requirement for node 0 of every shard to be primary in ↵ | Benety Goh | 2017-03-29 | 1 | -2/+8 |
| | | | | ShardingTest initialization | ||||
* | SERVER-28376 split ReplSetTest.initiate() into 3 functions. | Benety Goh | 2017-03-28 | 1 | -3/+32 |
| | | | | | | ReplSetTest.initiateWithAnyNodeAsPrimary() ReplSetTest.initiateWithNodeZeroAsPrimary() ReplSetTest.initiate() - alias for initiateWithNodeZeroAsPrimary() | ||||
* | SERVER-28502 Only capture debug allocator stack samples on intel platforms | Andrew Morrow | 2017-03-28 | 1 | -5/+10 |
| | |||||
* | SERVER-28376 remove references to unsupported ReplSetTest.initiate() ↵ | Benety Goh | 2017-03-28 | 1 | -8/+3 |
| | | | | | | initiateTimeout option. This option was removed in SERVER-27810. | ||||
* | SERVER-28438 Add keyId field to logicalTime object | Jack Mulrow | 2017-03-28 | 7 | -16/+103 |
| | |||||
* | SERVER-25717 Allow for negative push indexes | Tess Avitabile | 2017-03-28 | 3 | -22/+144 |
| | |||||
* | SERVER-28025 Sever `index_access_method`'s catalog dependency. | ADAM David Alan Martin | 2017-03-28 | 11 | -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 Schwerin | 2017-03-27 | 22 | -804/+614 |
| | | | | ThreadPoolExecutorTest. | ||||
* | SERVER-28489 MockStream hook methods may still be used if the stream gets ↵ | samantharitter | 2017-03-24 | 1 | -2/+2 |
| | | | | canceled | ||||
* | SERVER-28489 Add documentation to mock stream framework | samantharitter | 2017-03-24 | 1 | -0/+59 |
| | |||||
* | SERVER-27727 Note location where thread is marked idle | Mathias Stearn | 2017-03-24 | 31 | -44/+51 |
| | |||||
* | SERVER-27727 Hide idle threads in hang analyzer (extras) | Mathias Stearn | 2017-03-24 | 29 | -199/+100 |
| | |||||
* | SERVER-27727 Hide idle threads in hang analyzer (core only) | Mathias Stearn | 2017-03-24 | 6 | -2/+123 |
| | |||||
* | SERVER-27727 Make threadName a native thread_local so debuggers can get to it | Mathias Stearn | 2017-03-24 | 12 | -45/+59 |
| | |||||
* | SERVER-27834 disable implicit collection creation in IndexBuilder | Benety Goh | 2017-03-24 | 1 | -16/+3 |
| | |||||
* | SERVER-27834 FeatureCompatibilityVersion creates the admin.system.version ↵ | Benety Goh | 2017-03-24 | 1 | -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 Goh | 2017-03-24 | 2 | -0/+51 |
| | | | | missing | ||||
* | SERVER-28347 enforce storage depth limit for user documents | Kyle Suarez | 2017-03-24 | 11 | -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 shard | Kaloian Manassiev | 2017-03-24 | 2 | -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 Goh | 2017-03-23 | 3 | -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 Benvenuto | 2017-03-23 | 89 | -1588/+811 |
| | | | | This reverts commit 41d56f108e341c88fe26632084d6140ea75813c0. | ||||
* | SERVER-28353 make ARS actually interruptible from the deadline on the ↵ | Esha Maharishi | 2017-03-23 | 2 | -46/+56 |
| | | | | OperationContext | ||||
* | SERVER-28204 added Rollback interface and 3.6 implementation | Benety Goh | 2017-03-23 | 5 | -0/+844 |
| | | | | This is a stub implementation of the new 3.6 rollback algorithm. | ||||
* | SERVER-28204 added RollbackTest fixture | Benety Goh | 2017-03-23 | 10 | -58/+308 |
| | |||||
* | SERVER-28400 Firefox ESR 45.8.0 | Mark Benvenuto | 2017-03-23 | 89 | -811/+1588 |
| | |||||
* | Revert "SERVER-19019 prohibit mapReduce on system collections" | Kyle Suarez | 2017-03-23 | 1 | -6/+1 |
| | | | | | This reverts commits dea0ff9c2f1dd175aabce90a41c8e4d50e282401 and e9926e58d9f533e43ea43ca3f325d3baecf61276. | ||||
* | SERVER-27786 Implement _computeOperationTime | Jack Mulrow | 2017-03-23 | 1 | -12/+61 |
| | |||||
* | SERVER-28430 Expose dropConnections() method on ConnectionPool through the ↵ | Judah Schvimer | 2017-03-23 | 6 | -0/+22 |
| | | | | NetworkInterface | ||||
* | SERVER-19019 prohibit mapReduce on system collections | Kyle Suarez | 2017-03-23 | 1 | -1/+6 |
| | |||||
* | SERVER-21538 Use mockable cv wait in background_thread_clock_source_test | Mathias Stearn | 2017-03-22 | 3 | -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 Stearn | 2017-03-22 | 4 | -55/+128 |
| | |||||
* | SERVER-27439 Large queries can omit comment in currentOp | Bernard Gorman | 2017-03-22 | 1 | -13/+54 |
| | |||||
* | Revert "SERVER-26025 Smart pointer with clone on copy" | Randolph Tan | 2017-03-22 | 12 | -1803/+0 |
| | | | | This reverts commit 5d141bce7219aeb34d3de8cfae68d643bf9a3a16. |