0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

30898 Commits

Author SHA1 Message Date
Jason Carey
df71fbb001 SERVER-19705 unmix MozJS and Mongo Error Codes
SpiderMonkey error codes overlap with Mongo error codes in thrown user
assertions. Avoid that by lifting our error codes above theirs.
2015-08-10 14:42:34 -04:00
Jason Carey
bed94851c0 SERVER-19747 print Min/MaxKey as json where needed
Min/MaxKey have typeof "function" rather than "object" under
spidermonkey. Change our shell javascript to print correctly for tojson
and the shellPrintHelper.
2015-08-10 14:40:13 -04:00
Kamran Khan
c99b06ab9c SERVER-19812 Clean up comments in the concurrency suite's blacklists
This commit removes references to closed tickets, clarifies comments
about resource-intensive aggregation tests, and groups tests that are
disabled because of unreliable count() values in sharded clusters.
2015-08-10 13:56:00 -04:00
Kamran Khan
f5b4e11daa SERVER-19834 Use generic pkill target to kill unit test processes
Using "_test" as a pkill target is more encompassing than listing
individual process names as targets.
2015-08-10 13:44:57 -04:00
samantharitter
eecbe12db6 SERVER-19155 Refactor auth methods for asynchronous handlers 2015-08-10 13:30:28 -04:00
Jason Rassi
5e384621d6 SERVER-19838 Remove member DeleteStageParams::shouldCallLogOp 2015-08-10 12:33:42 -04:00
Mark Benvenuto
99a512ee70 SERVER-19805: MMap memory mapped file address allocation code cannot handle
addresses non-aligned to OS allocation granularity
2015-08-10 12:27:20 -04:00
Jason Carey
9f85761a98 SERVER-19848 Don't define trunc in MozJS on win
MSVC 2013 started offering 'trunc' from math.h. Our SpiderMonkey
configuration does not set HAVE_TRUNC in configuration, so mozilla
generates a trunc, which then conflicts with the math.h provided trunc.

Fix that by setting HAVE_TRUNC in the windows configs.
2015-08-10 12:25:03 -04:00
Scott Hernandez
af148d8ef5 SERVER-18363: fix for stepdown.js 2015-08-10 11:03:31 -04:00
Randolph Tan
ef17792e8a SERVER-19694 Distributed lock should retry on duplicate key error creating the lock entry 2015-08-10 10:54:24 -04:00
Jason Rassi
55f6c3a09f SERVER-19511 Fast distinct w/ no predicate shouldn't use partial index 2015-08-10 08:51:40 -04:00
Benety Goh
3a30ae195c SERVER-19537 allow replSetInitiate on nodes not started with --replSet 2015-08-08 12:51:58 -04:00
Benety Goh
d148492740 SERVER-19537 replication coordinator processReplSetInitiate() validates config and initializes oplog even when replication is disabled 2015-08-08 12:51:58 -04:00
Benety Goh
7e5a88c5eb SERVER-19537 replication coordinator external state initiateOplog() should bypass OpObserver and invoke _logOp() directly when replication is disabled 2015-08-08 12:51:58 -04:00
Benety Goh
644e5ed340 SERVER-19537 added updateReplOpTime to ReplicationCoordinatorExternalState::initiateOplog() 2015-08-08 12:51:58 -04:00
Benety Goh
8800fe3529 SERVER-19537 extended _logOp and createOplog to accept optional collection name and replication settings.
This supports creating the oplog collection and appending oplog entries when replication is disabled.
2015-08-08 12:51:58 -04:00
Benety Goh
ac92a2b394 SERVER-19537 assert.commandFailedWithCode should return command result 2015-08-08 12:51:57 -04:00
Martin Bligh
68bd6567db SERVER-19564: revert 2015-08-08 12:26:39 -04:00
Spencer T Brody
efcbdfee6e SERVER-19731 SERVER-19524 Make resmoke.py properly set up replica set config servers 2015-08-08 11:29:38 -04:00
Spencer T Brody
a7435cb1ac SERVER-19732 SERVER-19524 SERVER-19545 Use configsvr instead of configServer and sccc instead of scc 2015-08-08 11:18:45 -04:00
Spencer T Brody
19c2f0a0dc SERVER-19524 SERVER-19739 Additional validation and behavior for replica set configs for config servers 2015-08-08 11:18:44 -04:00
Martin Bligh
2ea42e3cdf SERVER-19564: Drop unused recordID return from insertDocument
Precursor to writev
2015-08-08 08:14:50 -04:00
Geert Bosch
d7eb8b1f43 SERVER-19183: Allow storage engines to provide optimized random cursors for use by $sample 2015-08-07 23:32:15 -04:00
Max Hirschhorn
61b9c8d1ca SERVER-18879 Skip index options override test on LSM build variant.
MongoRunner ends up passing --wiredTigerIndexConfigString twice in the
command line arguments, causing mongod to fail to start up.
2015-08-07 19:07:22 -04:00
Qingyang Chen
d7449f03b4 SERVER-19567 Compatibility layer for display of find/getMore commands in currentOp 2015-08-07 18:42:53 -04:00
Adam Midvidy
80f8bb6011 SERVER-19343 use stdx:: instead of std:: 2015-08-07 18:19:52 -04:00
Adam Midvidy
04838be552 SERVER-19343 add unit testing infrastructure for NetworkInterfaceASIO
- streams are now created through a factory
- implement SSL stream factory and plaintext stream factory
- implement a mock stream abstraction
- added a very basic unit test of NetworkInterfaceASIO
2015-08-07 17:44:04 -04:00
James Cohan
c54e23ccee SERVER-18925 Enable pipeline merging to happen on random shard when possible 2015-08-07 17:28:21 -04:00
Adam Chelminski
5c053bde22 SERVER-19639 Add Unicode phrase matcher and tokenizer for FTS 2015-08-07 17:12:21 -04:00
Charlie Swanson
326aa0029a SERVER-19548 Add $ceil, $floor, and $trunc aggregation expressions 2015-08-07 16:56:28 -04:00
Jonathan Reams
51a8f1ca3d SERVER-19822 Make sure directory names in dist archives are consistent 2015-08-07 16:33:35 -04:00
Kamran Khan
5033d600a0 SERVER-19808 Improve stack trace reports from concurrency suite
We now prepend error messages to stack traces to emulate the behavior
of v8 and to improve debuggability.
2015-08-07 15:22:42 -04:00
James Cohan
eae8944738 Revert "Whitespace"
This reverts commit 94c384780d.
2015-08-07 14:18:42 -04:00
James Cohan
34536a3631 SERVER-19095 Fix formatting 2015-08-07 13:57:51 -04:00
James Cohan
94c384780d Whitespace 2015-08-07 13:57:51 -04:00
Robert Guo
0d881d9265 Revert "SERVER-18474 allow core dump on fassert and invariant failures"
This reverts commit 53cc5b9905.
2015-08-07 13:04:43 -04:00
Kamran Khan
ad92bb4df6 SERVER-19811 Disable FSM workloads that drop and reuse sharded namespaces
Dropping and reusing sharded namespaces is not recommended because of known
limitations in the sharding code, so it doesn't make sense to test those
scenarios right now.
2015-08-07 11:28:36 -04:00
James Cohan
9285c02fa6 SERVER-19095 Prep for $lookUp, add checks for auth and sharded collection(s) 2015-08-07 11:02:16 -04:00
Adam Midvidy
61e60d5b39 SERVER-19222 disable replicasets_auth on ubuntu ASIO 2015-08-07 10:57:40 -04:00
James Cohan
a8176cf1da SERVER-18427 Adds $log, $log10, $ln, $pow, and $exp aggregation expressions 2015-08-07 10:34:41 -04:00
matt dannenberg
df33703a42 SERVER-19446 add server parameter for testing snapshots without replication 2015-08-07 04:57:27 -04:00
Scott Hernandez
872c5220ce SERVER-17528: no vote members must have priority 0 2015-08-07 09:48:57 -04:00
Scott Hernandez
8f1fb72cb7 SERVER-18363: voters cannot sync from non-voters 2015-08-07 09:48:57 -04:00
Scott Hernandez
44c3f7a4bd SERVER-19775: Do not apply the first oplog entry during initial sync 2015-08-07 09:48:56 -04:00
Scott Hernandez
c43b0e5105 SERVER-19644: change dassert to verify 2015-08-07 09:48:56 -04:00
Raymond Jacobson
2174be1681 SERVER-19624 Add Decimal128 type support to mongo/bson layer 2015-08-07 00:06:34 -04:00
Raymond Jacobson
bca1ffecf6 SERVER-19623 Add C++ wrapper for Decimal128 type 2015-08-07 00:04:23 -04:00
David Storch
1b5b55cb48 SERVER-18771 implement getMore command on mongos 2015-08-06 17:25:01 -04:00
Rui Zhang
58e8b39e9b SERVER-19490 Add distributed system performance test into Evergreen 2015-08-06 14:22:19 -07:00
Qingyang Chen
7a0dbc051a SERVER-19405 Implement stats() for ClusterCursorManager 2015-08-06 17:12:05 -04:00