Commit Graph

37111 Commits

Author SHA1 Message Date
Mathias Stearn
a4ebe76b6d SERVER-28291 use frame.pc() rather than frame.name() for stack deduping 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
4cefb2925a SERVER-28204 added build variant for Rollback 3.4 Enterprise RHEL 6.2 2017-03-23 19:18:32 -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
Kyle Suarez
e9926e58d9 SERVER-19019 use runCommand to avoid resharding after drop in sharded passthrough 2017-03-23 14:12:08 -04:00
Eddie Louie
9fc1ecd711 SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped
This reverts commit fb956b3b0a.
2017-03-23 14:07:50 -04:00
Randolph Tan
fb956b3b0a Revert "SERVER-26315 Override DBCollection.prototype.drop to re-shard collections that are dropped"
This reverts commit 56e66454d1.

Conflicts:
	buildscripts/resmokeconfig/suites/sharded_collections_jscore_passthrough.yml
2017-03-23 13:56:21 -04:00
Jonathan Abrahams
d65a41a35d SERVER-28415 Run thread backtrace before loading Python modules in hang_analyzer.py on ARM platform 2017-03-23 13:14:33 -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
Kaloian Manassiev
34dcbcb668 SERVER-28101 Remove usages of fast count in zbigMapReduce.js 2017-03-22 14:26:03 -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
Charlie Swanson
6b50dfdb11 SERVER-28409 Decrease verbosity during testshard1.js 2017-03-21 17:13:41 -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
Jonathan Abrahams
19abe0c2da SERVER-27874 - Hang analysis thread backtrace and mongo locks
- Run unique thread on Solaris
  - Add a legend to graph file
  - Do not generate digraph file, if graph is empty
2017-03-21 15:45:39 -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
Andrew Morrow
21628d6b23 SERVER-28390 Mark targets as Precious during incremental links 2017-03-21 14:01:15 -04:00
Andrew Morrow
39f71f9f17 SERVER-20540 Add an emitter for .dwo generated by -gsplit-dwarf 2017-03-21 14:00:46 -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