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

30060 Commits

Author SHA1 Message Date
Eric Milkie
75081de3da SERVER-19025 add fassertStatusOK to errorcodes.py 2015-06-18 09:16:08 -04:00
Kaloian Manassiev
e383a423d9 SERVER-19020 Implement getChunks for the repl set catalog manager
Includes implementation and tests.
2015-06-17 23:09:45 -04:00
mike o'brien
f30a606801 SERVER-18898 use numactl,syncdelay=0,ttlMonitorEnabled=false,etc in perf args 2015-06-17 19:20:17 -04:00
Adam Midvidy
3adb7b4cfd SERVER-18167 handle BSON Validation in OP_COMMAND 2015-06-17 19:16:11 -04:00
Andy Schwerin
4f525b4550 SERVER-19000 Rename threadpool::ThreadPool to OldThreadPool.
This is in preparation for introducing a new ThreadPool that will subsume the old one.
2015-06-17 19:11:08 -04:00
matt dannenberg
7523229c8d SERVER-18962 do not replicate metadata operations pertaining to system.profile 2015-06-17 13:22:36 -04:00
matt dannenberg
bdf6a4b8af SERVER-18962 ignore IllegalOperation when replicating a dropCollection 2015-06-17 13:22:35 -04:00
Andy Schwerin
f7d2f46438 SERVER-19005 Support DEATH_TEST and DEATH_TEST_F 2015-06-17 18:24:52 -04:00
Daniel Alabi
c3f9d7755b SERVER-18996 Implement getAllShards for RS Catalog Manager.
No more full reload of the entire shard registry when checking for
the cached "config" shard. Also modified ShardType to only include
optional fields when specified by user.
2015-06-17 15:34:25 -04:00
Randolph Tan
63b4dff0e2 SERVER-18525 Mock out tick source in replset_dist_lock_manager_test 2015-06-17 15:27:45 -04:00
Daniel Alabi
e8dd921f64 SERVER-18436 Forward declare RemoteCommandRequest as struct not class 2015-06-17 15:11:41 -04:00
Adam Midvidy
72241b6ad7 SERVER-18732 boost -> stdx for timed_mutex 2015-06-17 14:54:43 -04:00
Kaloian Manassiev
6584bfd3dd SERVER-18464/SERVER-18437/SERVER-19004 Move targeter ownership to Shard
Currently there is a discrepancy between the ownership of the targeter
object and the lifetime of Shard. It is possible that if a shard has been
created and a targeter disappears then operations on that shard will not
find the targeter.

This change moves the ownership of targeter to the Shard object itself.
2015-06-17 14:20:48 -04:00
Spencer T Brody
96cd8caab6 SERVER-18594 Implement writeConfigServerDirect and updateCollection in replset catalog manager 2015-06-17 13:56:37 -04:00
Spencer T Brody
50c495a2c2 SERVER-18436 Make OnCommand functions take RemoteCommandRequests 2015-06-17 13:56:37 -04:00
Brandon Zhang
438c694cbd SERVER-18830 Fixed explain output for geoNear
Closes #987

Signed-off-by: Siyuan Zhou <siyuan.zhou@mongodb.com>
2015-06-17 13:40:32 -04:00
Adam Midvidy
449e0f2b47 SERVER-18723 boost -> stdx for mutex, unique_lock, and lock_guard 2015-06-17 13:32:39 -04:00
Geert Bosch
cbc69e7dcb Add missing pragma once 2015-06-17 12:36:12 -04:00
dalyd
532571b5bc SERVER-15017: benchRun might return incorrect stats values 2015-06-17 11:41:15 -04:00
Mark Benvenuto
03ac7a3894 SERVER-18980: Include wiredtiger_ext.h in mongo integration 2015-06-17 10:47:36 -04:00
Kaloian Manassiev
a56fc79ee9 SERVER-18947 Remove Shard::getCommandRunner 2015-06-17 10:04:21 -04:00
Kaloian Manassiev
64bad8fc09 SERVER-18947 Cleanup unused code in chunk.h
This is in preparation for moving out networking code out of the Chunk
class.
2015-06-17 10:04:20 -04:00
Ernie Hershey
214f298eb8 SERVER-19002 Remove variant directory from evergreen scons commands 2015-06-17 09:46:16 -04:00
Qingyang Chen
f9043a51b1 SERVER-15217 remove unused tests in dbtests/plan_ranking.cpp
Closes #985

Signed-off-by: Jason Rassi <rassi@10gen.com>
2015-06-16 18:41:49 -04:00
Qingyang Chen
dd560fcda0 SERVER-18086 Fixed invalid pointer in canonical_query_test
Closes #983

Signed-off-by: Jason Rassi <rassi@10gen.com>
2015-06-16 18:41:49 -04:00
Qingyang Chen
2b44747156 SERVER-18309 have {$in: [.., null, ..]} not use sparse indexes
Closes #979

Signed-off-by: Jason Rassi <rassi@10gen.com>
2015-06-16 18:41:49 -04:00
matt dannenberg
2bf8ac5739 SERVER-18780 decrease time to switch sync source in noPassthrough/server6733.js back to the original 30 seconds
This reverts commit f0fa4307ef.
2015-06-16 11:56:17 -04:00
matt dannenberg
ed84beed6a SERVER-15732 abort election if term increases during the election 2015-06-16 11:56:17 -04:00
matt dannenberg
148f257917 SERVER-18385 add DryRun stage to ReplicationCoordinator's ElectV1 code path 2015-06-16 11:56:17 -04:00
matt dannenberg
64573bc33c SERVER-18385 add DryRun support to RequestVotes, VoteRequester, and TopologyCoordinator 2015-06-16 11:56:16 -04:00
Andrew Morrow
22dd61cfe6 SERVER-18991 Replace all usages of boost::noncopyable with MONGO_DISALLOW_COPYING 2015-06-16 16:31:58 -04:00
Adam Midvidy
be88e42ef8 SERVER-18236 cleanup ServerSelectionMetadata 2015-06-16 16:25:39 -04:00
Adam Midvidy
d124312c4c SERVER-18236 fix exception safety in generateErrorResponse 2015-06-16 16:25:39 -04:00
Adam Midvidy
49c54afb7a SERVER-18292 expose protocol type of RPC classes and
check that they match in runCommandWithMetadata
2015-06-16 16:25:39 -04:00
Adam Midvidy
4eb15b34d1 SERVER-18236 SERVER-18292 send impersonated users and roles via metadata object 2015-06-16 16:25:38 -04:00
Adam Midvidy
2bf407c955 SERVER-18236 send GLEStats over OP_COMMAND metadata object 2015-06-16 16:25:38 -04:00
Adam Midvidy
b6b9e3ecd7 SERVER-18236 make runCommandHook and postRunCommand hook operate on the metadata object 2015-06-16 16:25:38 -04:00
Adam Midvidy
5014f223f0 SERVER-18292 SERVER-18236 read ReadPreference off of metadata in DBClientRS 2015-06-16 16:25:38 -04:00
Adam Midvidy
ac15ad101e SERVER-18236 provide variant of DBClientWithCommands::runCommands that
supports metadata
2015-06-16 16:25:34 -04:00
Adam Midvidy
b5e98006ec SERVER-18292 support OP_COMMAND in commands executed with DBClientMultiCommand 2015-06-16 16:25:33 -04:00
Adam Midvidy
0641c63793 SERVER-18292 support OP_COMMAND in commands executed using a DBClientCursor 2015-06-16 16:25:29 -04:00
Benety Goh
53548f1cff SERVER-18036 convert data replicator to use mock replication coordinator.
added first tests for oplog start missing
added test for reporting status of applying batch operations to oplog
2015-06-16 15:57:48 -04:00
Benety Goh
236771026a SERVER-18036 data replicator reporter should not wait on callback handle if inactive 2015-06-16 15:57:47 -04:00
Benety Goh
7eb170051d SERVER-18036 query fetcher was not checking start timestamp in first batch of oplog entries 2015-06-16 15:57:47 -04:00
Kamran Khan
dd72c45ad1 SERVER-18998 Fix a build failure when building TSan support without a symbolizer
Previously, the build would fail with an UnboundLocalError when appending to
tsan_options.
2015-06-16 15:52:40 -04:00
Daniel Alabi
6bf2bfe665 SERVER-18949 Implement getDatabase for the RS catalog manager 2015-06-16 15:00:06 -04:00
Kaloian Manassiev
34a05c0a54 SERVER-18947 Add task executor to RS catalog manager tests
This change introduces dependency on the replica set executor and mock
network to the catalog manager replica set tests fixture.

It also implements the CatalogManager::getCollection method.
2015-06-16 13:45:57 -04:00
Andy Schwerin
8c877b35e4 SERVER-6686 Remove remaining uses of boost::xtime.
Also, remove curTimeMicros() which could not represent times since it cannot
represent points in time after 1970-01-01T00:01:11:34.967
2015-06-16 10:36:48 -04:00
Andy Schwerin
b06861044a SERVER-6686 Remove all uses of boost::xtime outside of time_support.cpp. 2015-06-16 10:36:48 -04:00
Andy Schwerin
e9aee4b9bc SERVER-18928 Simplify mongo/platform/cstdint.h in advance of eliminating it. 2015-06-16 10:36:47 -04:00