Commit Graph

16910 Commits

Author SHA1 Message Date
Andrew Morrow
df4c3c906d SERVER-28502 Only capture debug allocator stack samples on intel platforms 2017-03-28 21:37:49 -04:00
Benety Goh
2e189a57db SERVER-28376 remove references to unsupported ReplSetTest.initiate() initiateTimeout option.
This option was removed in SERVER-27810.
2017-03-28 21:16:41 -04:00
Jack Mulrow
399ba02faf SERVER-28438 Add keyId field to logicalTime object 2017-03-28 18:05:58 -04:00
Tess Avitabile
7a1b75556d SERVER-25717 Allow for negative push indexes 2017-03-28 17:04:58 -04:00
ADAM David Alan Martin
8a988f7dfe SERVER-28025 Sever index_access_method's catalog dependency.
Slice this dependency by inserting an `IndexCatalogEntry` proxy class
with a pure vtable, and exposing an inline version of `Collection::docFor`.
2017-03-28 13:15:16 -04:00
Andy Schwerin
f4cce647d9 SERVER-28491 Re-host unit tests that used ReplicationExecutorTest onto ThreadPoolExecutorTest. 2017-03-27 13:22:25 -04:00
samantharitter
0230175542 SERVER-28489 MockStream hook methods may still be used if the stream gets canceled 2017-03-24 17:21:20 -04:00
samantharitter
cdf2e4cc29 SERVER-28489 Add documentation to mock stream framework 2017-03-24 17:20:59 -04:00
Mathias Stearn
8056164a27 SERVER-27727 Note location where thread is marked idle 2017-03-24 16:13:26 -04:00
Mathias Stearn
63d1f4c049 SERVER-27727 Hide idle threads in hang analyzer (extras) 2017-03-24 16:13:26 -04:00
Mathias Stearn
27ddad2221 SERVER-27727 Hide idle threads in hang analyzer (core only) 2017-03-24 16:13:26 -04:00
Mathias Stearn
77f7e96fdc SERVER-27727 Make threadName a native thread_local so debuggers can get to it 2017-03-24 16:13:26 -04:00
Benety Goh
fd46b39bd9 SERVER-27834 disable implicit collection creation in IndexBuilder 2017-03-24 15:45:15 -04:00
Benety Goh
9bc30836f6 SERVER-27834 FeatureCompatibilityVersion creates the admin.system.version collection if missing.
This avoids relying on the implicit collection behavior in IndexBuilder.
2017-03-24 14:38:53 -04:00
Benety Goh
f54e89fa12 SERVER-27834 applyOperation_inlock() fails index creation if collection is missing 2017-03-24 14:16:40 -04:00
Kyle Suarez
59bf804f97 SERVER-28347 enforce storage depth limit for user documents
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.
2017-03-24 12:03:31 -04:00
Kaloian Manassiev
921f12c9aa SERVER-22954 Do not call into the MMAPV1 storage engine on the recipient shard
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.
2017-03-24 09:39:08 -04:00
Benety Goh
35a6f1920b SERVER-28204 added server parameter to select between 3.4 and 3.6 rollback implementations
This server parameter is set to use the 3.6 implementation as the default.
2017-03-23 17:51:21 -04:00
Mark Benvenuto
f27a5631a6 Revert "SERVER-28400 Firefox ESR 45.8.0"
This reverts commit 41d56f108e.
2017-03-23 17:01:11 -04:00
Esha Maharishi
cb4b8b622f SERVER-28353 make ARS actually interruptible from the deadline on the OperationContext 2017-03-23 16:49:57 -04:00
Benety Goh
42d945d244 SERVER-28204 added Rollback interface and 3.6 implementation
This is a stub implementation of the new 3.6 rollback algorithm.
2017-03-23 16:18:26 -04:00
Benety Goh
c1964e8174 SERVER-28204 added RollbackTest fixture 2017-03-23 16:00:31 -04:00
Mark Benvenuto
41d56f108e SERVER-28400 Firefox ESR 45.8.0 2017-03-23 15:12:36 -04:00
Kyle Suarez
65fe8e6afa Revert "SERVER-19019 prohibit mapReduce on system collections"
This reverts commits dea0ff9c2f and
e9926e58d9.
2017-03-23 14:30:05 -04:00
Jack Mulrow
5a6383e5d1 SERVER-27786 Implement _computeOperationTime 2017-03-23 10:40:52 -04:00
Judah Schvimer
5014eade5a SERVER-28430 Expose dropConnections() method on ConnectionPool through the NetworkInterface 2017-03-23 10:23:58 -04:00
Kyle Suarez
dea0ff9c2f SERVER-19019 prohibit mapReduce on system collections 2017-03-23 08:42:49 -04:00
Mathias Stearn
d55eaad5cd SERVER-21538 Use mockable cv wait in background_thread_clock_source_test
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.
2017-03-22 19:15:21 -04:00
Mathias Stearn
86bc5bdac3 SERVER-28421 Implement ClockSource::waitForConditionUntil() 2017-03-22 19:15:21 -04:00
Bernard Gorman
51d8b9c2f5 SERVER-27439 Large queries can omit comment in currentOp 2017-03-22 22:30:31 +00:00
Randolph Tan
7b4770c1db Revert "SERVER-26025 Smart pointer with clone on copy"
This reverts commit 5d141bce72.
2017-03-22 17:19:42 -04:00
Matthew Russotto
6c5938b9fc SERVER-27083 Refactor ReplicationCoordinatorImpl to eliminate topoMutex. 2017-03-22 16:44:49 -04:00
Kaloian Manassiev
d8b0d028e3 SERVER-27681 Remove duplicated ShardKeyPattern functionality from CollectionMetadata 2017-03-22 16:29:12 -04:00
Siyuan Zhou
7361e94af3 SERVER-28181 Fix the deadlock in OplogFetcher's constructor. 2017-03-22 16:03:09 -04:00
ADAM David Alan Martin
5d141bce72 SERVER-26025 Smart pointer with clone on copy
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.
2017-03-22 15:42:44 -04:00
samantharitter
089ce06088 SERVER-28294 Host CollectionUUID on top of standalone UUID library 2017-03-22 15:18:40 -04:00
samantharitter
e15d99fc1b SERVER-28294 Add a standalone UUID library to utilities 2017-03-22 15:18:40 -04:00
David Storch
bc8db13a5b SERVER-28310 fix mongos count command error reporting to include details in errmsg field 2017-03-22 14:09:20 -04:00
Judah Schvimer
aee4b31d3a SERVER-28219 Extend OplogBufferCollection so that it can be initialized using the contents of an existing collection 2017-03-22 13:38:46 -04:00
Tess Avitabile
d66405f651 SERVER-9609 Ensure users can only call getMore on cursors they created 2017-03-22 13:09:21 -04:00
David Storch
70151a3b5c SERVER-28425 fix QueryPlannerAccess invariant 2017-03-22 12:25:23 -04:00
Misha Tyulenev
4d364a4c95 SERVER-28107 augment command result with operationTime in mongos 2017-03-22 12:03:06 -04:00
Andrew Morrow
b38e0199d0 SERVER-19677 Add support for running the intel decimal library test 2017-03-22 11:16:36 -04:00
Nick Zolnierz
dd260b0a3b SERVER-26113 explain() for aggregation request does not propogate to corresponding 'QueryRequest'
Small change to bug fix, and adding explain.js test.

Formatting changes

Missed formatting

Incorporating CR feedback
2017-03-21 18:23:45 -04:00
Spencer T Brody
7cd3934080 SERVER-27892 Don't call canAcceptWritesFor in mapReduce until after grabing locks 2017-03-21 18:12:23 -04:00
Kyle Suarez
b25e825ede SERVER-8433 limit recursion when serializing Document to BSON 2017-03-21 16:02:49 -04:00
Kyle Suarez
ba8c4a2cb5 SERVER-8433 prohibit constructing FieldPaths that exceed the depth limit 2017-03-21 16:02:49 -04:00
samantharitter
0d7ae60a0f SERVER-28014 Add logging to expose non-SSL connections when SSL is preferred but not required 2017-03-21 14:29:55 -04:00
Tess Avitabile
cbbdb02fae Revert "SERVER-9609 Ensure users can only call getMore on cursors they created"
This reverts commit 9e7974e4b6.
2017-03-21 11:14:18 -04:00
Mathias Stearn
b283aecc3a SERVER-21538 Put BGThreadClockSource to sleep when it isn't needed
If it goes through a full granularity of sleeping without being read from, it
will sleep with no timeout until the next attempt to read the clock.
2017-03-20 18:56:18 -04:00