0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-22 13:07:39 +01:00
Commit Graph

33163 Commits

Author SHA1 Message Date
Dianna Hohensee
730b0cd2f4 SERVER-21976 fixing mongos' routing of dataSize command to mongods: it was using the wrong database 2016-03-08 17:26:32 -05:00
Misha Tyulenev
5aa0caba3b SERVER-22877 move tests from replset_config to sharding directory 2016-03-08 16:43:54 -05:00
Kaloian Manassiev
ebdc9e8e3f SERVER-22948 Assert that starting/stopping the balancer is successful 2016-03-08 15:29:07 -05:00
Kaloian Manassiev
7df00746cc SERVER-22972 Remove usages of OldClientContext which reference database
Some of these are doing shard version checking against the name of the
database, which is useless and breaks sharding assertions, which we are
about to add.
2016-03-08 15:29:06 -05:00
Dianna Hohensee
8f1e89803e SERVER-22157 force config primary stepdown in sharding_continuous_config_stepdown testing suite 2016-03-08 11:26:12 -05:00
matt dannenberg
d0b74ee1f5 SERVER-22913 compile fix 2016-03-08 05:19:21 -05:00
Esha Maharishi
a9bac8cdf1 SERVER-22203 consolidate shardVersion checks to using the OperationShardVersion. 2016-03-07 19:35:14 -05:00
Misha Tyulenev
a12dbc9271 SERVER-22993 make cleanup_orphaned_cmd tests more stable 2016-03-07 19:10:06 -05:00
matt dannenberg
03eb4777de SERVER-22965 move OplogEntry into repl/oplog_entry.{cpp,h} 2016-03-07 13:19:29 -05:00
matt dannenberg
b34164948c SERVER-22913 create SyncSourceResolver 2016-03-07 12:53:09 -05:00
Spencer Jackson
459340ce81 SERVER-22986: Fix link when OpenSSL disables SSLv3 2016-03-07 17:14:38 -05:00
Kamran Khan
63d332ff3c SERVER-22969 Remove connectionURLTheSame from the global scope
connectionURLTheSame has been moved to ShardingTest's scope because it's
only used from ShardingTest code.
2016-03-07 16:33:09 -05:00
Spencer T Brody
c918dc295e SERVER-22937 Retry operations run through the ShardRegistry wherever possible 2016-03-07 14:00:54 -05:00
Waley Chen
cfa10de6e6 SERVER-22767 mongos segfault when invoking .explain() on certain operations 2016-03-07 11:30:52 -05:00
Waley Chen
a946a91596 Revert "SERVER-22767 mongos segfault when invoking .explain() on certain operations"
This reverts commit 7652290374.
2016-03-07 11:19:25 -05:00
Dianna Hohensee
24ea13cd77 SERVER-22933 SERVER-22934 make applyOps update the last optime on no-ops, and add testing 2016-03-07 11:18:27 -05:00
Benety Goh
0ac299f19f SERVER-18029 cleaned up ReplicationCoordinator::prepareReplSetUpdatePositionCommand to accept a command style indicating format of replSetUpdatePosition to generate. 2016-03-07 10:58:21 -05:00
David Storch
49825c02c6 SERVER-22945 rewrite update_yield1.js to not depend on timing 2016-03-07 10:01:46 -05:00
Kaloian Manassiev
e4bd8cef2b SERVER-22359 Move op observer hooks to CollectionShardingState
Use the CollectionShardingState for notifications from the oplog observer
instead of calling into the global ShardingState object.

Also gets rid of the threading through of the fromMigrate flags down to
the sharding state.
2016-03-07 09:30:52 -05:00
Waley Chen
7652290374 SERVER-22767 mongos segfault when invoking .explain() on certain operations 2016-03-04 16:44:59 -05:00
Kaloian Manassiev
cddc537961 SERVER-22952 Lower the shard log verbosity in the continuous stepdown suite 2016-03-04 16:06:14 -05:00
Adam Midvidy
703c1f823e SERVER-22967 ensure UserCacheInvalidator stops before we destroy its state 2016-03-04 15:27:08 -05:00
Adam Midvidy
8dd3f43ef3 SERVER-22950 make mongos shutdown always go through exitCleanly 2016-03-04 15:27:08 -05:00
Adam Midvidy
4370186cb2 SERVER-22737 make exit logging.js more robust
- improve error message if test fails
- don't limit output of RawMongoProgramOutput
2016-03-04 15:27:08 -05:00
Charlie Swanson
943984e0a1 SERVER-22931 Remove redundant assignment of FTSSpec 2016-03-04 14:38:33 -05:00
Siyuan Zhou
daaa359b8e SERVER-22919 Shutdown cleanly after interrupting oplog application 2016-03-04 13:57:45 -05:00
Dianna Hohensee
1e7fd17ee3 SERVER-22794 fixing network error in continuous step down thread due to unaccounted for primary step down closing connections 2016-03-04 13:04:44 -05:00
Eric Milkie
6eb09b5e47 SERVER-22955 check for interrupt after waiting for bg op to finish in applier 2016-03-04 10:40:21 -05:00
Eric Milkie
f019f88f05 SERVER-22947 fix pessimizing move in batch_executor 2016-03-04 10:40:21 -05:00
Benjamin Murphy
aee9f7e2a9 SERVER-22093 Aggregation uses a COUNT plan when no fields are needed from input documents. 2016-03-04 10:05:05 -05:00
Max Hirschhorn
b465c40655 SERVER-22401 Add new rules for assigning predicates to multikey indexes.
The metadata in the IndexEntry struct indicates what prefixes of the
indexed fields cause the index to be multikey. This information is used
to get tighter bounds by assigning additional predicates to the index.
2016-03-03 23:35:39 -05:00
Max Hirschhorn
7467ccea16 SERVER-22867 Convey to access planner when to intersect bounds.
The plan enumerator is already aware of the rules for intersecting and
compounding bounds with multikey indexes. By making this information
part of the index assignment, the access planner can know whether it
should intersect the bounds or generate a self-intersection plan.

This change avoids creating duplicate work in the access planner that
already has to exist in the plan enumerator when the rules for
intersecting and compounding bounds becomes based on what prefixes of
indexed fields cause the index to be multikey.
2016-03-03 23:35:39 -05:00
Misha Tyulenev
bc196517c4 SERVER-22318 remove SCCC support 2016-03-03 13:40:25 -05:00
Jason Carey
9778d06787 SERVER-22710 Fix UB in ASIO timeout durations
std::chrono types can naturally signed integer overflow if you
accidentally pass a large duration in lower granularity
(std::chrono::milliseconds::max()) to a higher granularity constructor
(std::chrono::nanoseconds).

We have to clamp our casts to ensure that we don't wrap around to
negative values.
2016-03-03 13:07:12 -05:00
Jason Carey
8f451aa7e4 SERVER-22944 Fix UB in rpc::makeRequest/Reply
We need to provide an underlying type to NetworkOp to avoid UB when
loading possibly bad bytes into it.
2016-03-03 13:05:41 -05:00
Robert Guo
f242db24ea SERVER-22894 use python script instead of curl to download jstestfuzz 2016-03-03 11:18:26 -05:00
Esha Maharishi
6cf5e55ea5 SERVER-22762 convert collection_metadata_test and metadata_loader_test to use CSRS 2016-03-03 10:52:59 -05:00
David Storch
43a4c11187 SERVER-22695 fix left shift of negative number in GeoHash::clearUnusedBits() 2016-03-03 09:55:37 -05:00
Kaloian Manassiev
7e477bdff8 SERVER-22359 Introduce per collection sharding state 2016-03-03 09:50:34 -05:00
matt dannenberg
56b626fd66 SERVER-22929 remove rollback4.js 2016-03-03 04:34:52 -05:00
Jonathan Abrahams
98150643ca SERVER-22339 Integrate JavaScript formatting into scons "lint" target 2016-03-03 09:12:39 -05:00
Jason Carey
f3dac8565e Initialize more variables to make gcc happy
For some reason gcc is unhappy with the included callsites which use
bufreader, but only in the presence of the enterprise module.
Initialize them to quiet the compiler warnings.
2016-03-02 18:26:37 -05:00
Alex Gorrod
ff5b24ce02 Import wiredtiger-wiredtiger-2.7.0-858-g444981a.tar.gz from wiredtiger branch mongodb-3.4
ref: 4531b92..444981a

SERVER-22773  Fix CRC32 implementation for ppc64le platform
WT-2432       Understand eviction impact on LSM and readonly workload
WT-2433       Allow read-only databases to log statistics
WT-2434       Fix a race between force-drop and sweep
WT-2437       Fix test suite failures on Windows
WT-2438       Extend WiredTiger stat declarations to help timeseries tool
WT-2440       vpmsum_crc32: Per the PPC64 ABI, v20-v31 are non-volatile register
2016-03-03 09:23:42 +11:00
Jason Carey
7e8566b8b8 SERVER-22801 (de)serialize for sorter le fixes 2016-03-02 16:50:49 -05:00
Jason Carey
0e137710ae SERVER-21466 Upgrade BufReader to use dataX
Allows BufReader to use DataType primitives to read little endian.
2016-03-02 16:45:39 -05:00
Mark Benvenuto
cdd95deb1b SERVER-21828 Murmurhash for bigendian
Make murmurhash output the same on big endian architectures as on little
endian.
2016-03-02 16:41:53 -05:00
Jason Carey
9405fa9e1e SERVER-22800 Refactor DataTypeEndian
Centralize the code to be more brief and extensible for endian
conversions
2016-03-02 16:40:32 -05:00
Jonathan Abrahams
d8d237dfc8 SERVER-22842 Support JavaScript style for clang-format. The JavasScript format
is disabled, but defined for src/mongo & jstests
2016-03-02 15:03:22 -05:00
Kaloian Manassiev
be3d44bf8a SERVER-22914 Fix a misnamed variable 2016-03-02 13:27:22 -05:00
Kaloian Manassiev
c714577f26 SERVER-22914 Make mongos_no_replica_set_refresh obtain config from the primary node
Also gets rid of the getConfigFromPrimary method in place of a more
flexible one.
2016-03-02 09:44:58 -05:00