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

37576 Commits

Author SHA1 Message Date
Kaloian Manassiev
edb24708c5 Revert "SERVER-28229: Bind to localhost by default"
This reverts commit d6b244fce4.
2017-04-25 09:27:55 -04:00
Henrik Ingo
7ca032d3e3 SERVER-28932 Update sys-perf master to use 3.4.4-Baseline 2017-04-25 11:38:35 +03:00
Jonathan Abrahams
f34a173b12 SERVER-28783 Add buildscripts/combine_reports.py script for combining report.json files 2017-04-24 21:47:10 -04:00
ADAM David Alan Martin
cf85386130
SERVER-28851 Resolve cycles from latest vtables.
The introduction of several vtables lets us resolve a few more
cyclic dependencies into `mongo/db/catalog/catalog`.  Fully
resolved libraries have had their libdeps checking exemptions
removed.
2017-04-24 19:12:49 -04:00
Spencer Jackson
d6b244fce4 SERVER-28229: Bind to localhost by default 2017-04-24 17:59:13 -04:00
ADAM David Alan Martin
caec188e15
SERVER-28842 Slice DatabaseHolder using a vtable
The `DatabaseHolder` class and the `dbHolder` free function are
used in many libraries which are circularly dependent with `catalog`.
By adding a vtable to facilitate dynamically injectable implementations,
we can break those dependencies.
2017-04-24 17:48:06 -04:00
Yuriy Solodkyy
918ac217df
SERVER-28890 Workaround for upcoming /Zc:ternary
This workaround allows building MongoDB under Microsoft's upcoming
compiler, with the `/Zc:ternary` option enabled.  This option would
be implied by the `/permissive-` option.  The code fails to compile
under this mode when using Microsoft's existing `std::list`
implementation.  This explicit cast can be removed once Microsoft's
`std::list` stops using inheritance between const and modifiable
iterators.

The issue arises because the `?:` ternary operator requires an
impossible conversion from a `const iterator &` to a
`const_iterator &&` or a `const_iterator &`.  This occurs because
Microsoft's `std::list< ... >::iterator` inherits from
`std::list< ... >::const_iterator`.  Were the `const iterator &`
non-constant (`iterator &`), this would work.  Additionally, were the
`const_iterator &` constant (`const const_iterator &`), this would
also work.

Closes #1147
2017-04-24 16:46:04 -04:00
Esha Maharishi
57d1ad19ed SERVER-28893 make Shard::CommandResponse include the exact host that sent the response 2017-04-24 16:04:30 -04:00
Daniel Gottlieb
d0d301d9fb SERVER-28741: add --groupCollections server parameter 2017-04-24 15:43:31 -04:00
Esha Maharishi
fb19be6478 SERVER-28870 make ClusterClientCursorParams::RemoteCursor store the ShardId 2017-04-24 15:29:35 -04:00
Judah Schvimer
0cd3a79bd4 SERVER-28545 don't schedule setFollowerMode on ReplicationExecutor 2017-04-24 14:23:37 -04:00
William Schultz
d1790d9292 SERVER-28264 Unblacklist linearizable read concern sharding test 2017-04-24 12:56:38 -04:00
Randolph Tan
ee43a1b5c7 SERVER-28939 Temporarily increase log verbosity for gle/create_index_gle.js 2017-04-24 11:11:29 -04:00
dalyd
be444d577c SERVER-28937: Make mongotools available in sys-perf 2017-04-24 10:32:16 -04:00
Nathan Myers
13153510db SERVER-28931 Restore omitted line in MetadataManager::refreshActiveMetadata 2017-04-23 03:57:04 -04:00
Siyuan Zhou
b077e09064 SERVER-28490 Check the state after acquiring the lock in bgsync. 2017-04-21 23:05:21 -04:00
David Storch
d36bda7504 SERVER-28309 remove RangePreserver class
RangePreserver was an old way to ensure that necessary chunk
ranges are not deleted during query execution. This is now
handled by ScopedCollectionMetadata.
2017-04-21 18:18:48 -04:00
Judah Schvimer
cdf7d99b56 SERVER-28493 Wait for secondary's dry run election to finish before healing network in no_flapping_during_network_partition.js 2017-04-21 17:39:55 -04:00
William Schultz
460fb74a52 SERVER-28909 double_rollback.js should assert that database commands succeed 2017-04-21 16:36:05 -04:00
Tess Avitabile
9b7d79e1cc SERVER-28904 UpdateNode should have a virtual destructor 2017-04-21 15:10:19 -04:00
Geert Bosch
99531b4db7 SERVER-27989 Implement new oplog format with collection UUIDs 2017-04-21 14:00:16 -04:00
Andrew Morrow
ab0fc1ebb4 SERVER-28888 Ensure scanner stability across rebuilds
Also, a quick fix to eliminate a needless sort, since Node.sources
is expected to be stable across rebuilds, unlike Node.sources_set
2017-04-21 13:33:29 -04:00
Judah Schvimer
49140247ca SERVER-28908 Change ReplSetConfig return type from 'const int' to 'int' 2017-04-21 12:56:33 -04:00
Benety Goh
f34a8c5ab9 SERVER-28211 optimize processCreateCollection 2017-04-21 12:18:06 -04:00
Mark Benvenuto
89be6b3d89 SERVER-28827 Refactor IDL code generator 2017-04-21 12:03:38 -04:00
Jonathan Reams
f929d2cfcf SERVER-28749 Unify ServiceEntryPointMongod and ServiceEntryPointMongos 2017-04-21 11:22:53 -04:00
Jonathan Abrahams
c2cb98f46c SERVER-28348 Add cycle detect message for detecting single-process deadlocks involving LockManager locks and/or pthread_mutexes 2017-04-21 11:08:00 -04:00
Judah Schvimer
ac6f185017 SERVER-27659 Persist Rollback Id 2017-04-21 10:27:59 -04:00
Benety Goh
1b386fef67 SERVER-28211 optimize single document operations 2017-04-21 10:20:37 -04:00
Siyuan Zhou
e4f20f24dd SERVER-26848 Remove dead code of primary catch-up.
This reverts commit fac33fe5a6.
2017-04-20 22:42:11 -04:00
Siyuan Zhou
4680351e3f SERVER-26848 Exit catchup mode when not syncing more data.
This reverts commit c08590a6ac.
2017-04-20 22:36:43 -04:00
Alex Gorrod
8b437e7a76 SERVER-26239 Improve handling of WT_CACHE_FULL for inMemory storage engine 2017-04-21 06:51:55 +10:00
Max Hirschhorn
ba040d4d48 SERVER-28868 Set noCursorTimeout option on cursor in checkOplogs(). 2017-04-20 16:43:37 -04:00
ADAM David Alan Martin
4d6ac4793f
SERVER-28691 Disable MSVC warning C4373
The MSVC compiler has warnings which alert users that the behavior
of the compiler has changed.  In the case of C4383, the compiler
used to have non-conforming behavior to C++98.  At some point this
behavior was fixed.  MongoDB's code base should not have any code
which would be adversely affected by this change, as the code is
also compiled on platforms where the native compiler is conformant
to the standard in this point.  Therefore it should be safe to
disable this warning.

The specific warning cautions that a derived class's inline
definition of a virtual function will now override a parent's
implementation, where formerly it would not.  This would happen
when the derived class's implementation specified at least one
of the parameters `const` (in such a way that the actual signature
of the function isn't changed).  MSVC incorrectly determines that
if there are two functions that differ only in a non-observable
`const` specifier, then they would have different signatures, in
many circumstances.  This would mean that the compiler resorts to
treating such functions as overloads.  The compiler now behaves
correctly for the case of override in a derived class; however,
it issues a warning.  The warning is irrelevant to us.
2017-04-20 16:20:13 -04:00
Spencer T Brody
5bdd2f49c0 SERVER-25765 Commands should wait for write concern even if they throw an exception 2017-04-20 16:04:38 -04:00
ADAM David Alan Martin
7e6025227b
SERVER-28832 Slice catalog/collection_info_cache
The `CollectionInfoCache` class is used outside of the catalog
library in many places.  This change slices that dependency
by providing an initializable vtable based pimpl class.  This
should permit a further reduction in the number of cyclic
dependencies in the graph.
2017-04-20 15:59:53 -04:00
ADAM David Alan Martin
47b98a643b
SERVER-28811 Resolve satisfiable dependencies
With the creation of many dependency slices using vtables, the
build graph can be altered to resolve libraries depending upon such
modules.  Several incomplete libraries are completely resolved with
this change.
2017-04-20 15:49:12 -04:00
samantharitter
89fb4cd00c SERVER-28853 Properly test that host timeouts are delayed in connection_pool_test 2017-04-20 15:04:20 -04:00
Jonathan Abrahams
d4c16656d7 SERVER-28348 Detect single-process deadlocks involving LockManager locks and/or pthread_mutexes 2017-04-20 14:31:26 -04:00
Andrew Morrow
96ab10faa3 SERVER-28878 Mark mozjs shim as a private dependency edge 2017-04-20 14:26:54 -04:00
Tess Avitabile
0293c14cbd SERVER-28621 Parse BSON update expression into an UpdateNode tree 2017-04-20 13:22:12 -04:00
Robert Guo
c08590a6ac Revert "SERVER-26848 Exit catchup mode when not syncing more data."
This reverts commit d0c851e2f4.
2017-04-20 10:58:57 -04:00
Robert Guo
fac33fe5a6 Revert "SERVER-26848 Remove dead code of primary catch-up."
This reverts commit 7109d453e5.
2017-04-20 10:58:57 -04:00
Mark Benvenuto
37073e44e9 SERVER-28515 Add import support to IDL 2017-04-20 09:48:31 -04:00
Nathan Myers
c192a1b9b1 SERVER-27921 New Range Deleter 2017-04-20 01:31:00 -04:00
Benety Goh
53907c0094 SERVER-28815 multi_rs.js steps down primary without {force: true} 2017-04-19 18:51:56 -04:00
Siyuan Zhou
7109d453e5 SERVER-26848 Remove dead code of primary catch-up. 2017-04-19 18:11:10 -04:00
Siyuan Zhou
d0c851e2f4 SERVER-26848 Exit catchup mode when not syncing more data. 2017-04-19 18:11:10 -04:00
Benety Goh
85472b2350 SERVER-28211 add StorageInterface::deleteByFilter 2017-04-19 17:56:39 -04:00
Esha Maharishi
4354125dd6 SERVER-28726 make ClusterCountCmd::explain, Strategy::explainFind, and DistinctCmd::explain use the ARS 2017-04-19 17:48:50 -04:00