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

41978 Commits

Author SHA1 Message Date
Mark Benvenuto
004183f093 SERVER-34791 Free Mon Fix locking 2018-05-04 10:18:11 -04:00
Daniel Gottlieb
c0d6b410b1 SERVER-34575: Only downgrade to 3.6 when oplog was replayed on startup. 2018-05-04 10:01:19 -04:00
Judah Schvimer
67da083fac SERVER-33587 Add rollback fuzzer test suite that shuts down random nodes cleanly and uncleanly 2018-05-04 08:23:17 -04:00
Judah Schvimer
a12dad51c3 SERVER-33587 remove deprecated rollback test fixture code 2018-05-04 08:22:57 -04:00
Benety Goh
3450ec365e SERVER-32334 move static SyncTail functions to above constructors 2018-05-04 06:08:46 -04:00
Luke Chen
11d837751b Import wiredtiger: ba76f72622a52024382effb7296e9f8f5cac224b from branch mongodb-3.8
ref: aa6646fd0a..ba76f72622
for: 3.7.10

WT-4023       Add messages to a few places that return errors
WT-4033       Add ability to alter tables without taking exclusive access
WT-4058       Make slot switch quicker when I/O is slow
WT-4064       Relax checking of lookaside entry count
WT-4069       Commit of a truncate can leave a page permanently locked
WT-4070       WiredTiger recovery can checkpoint data referencing pieces of a transaction
2018-05-04 13:57:22 +10:00
William Schultz
381acc4baa SERVER-34557 last_vote.js needs to wait for stable node before reading oplog 2018-05-03 22:07:58 -04:00
Benety Goh
59510690f9 SERVER-34828 remove unused getSlaveDelay initial sync option 2018-05-03 22:02:59 -04:00
Benety Goh
cf1cb92a0d SERVER-34828 initial sync ignores slave delay setting during oplog application 2018-05-03 19:44:58 -04:00
Kyle Suarez
50bb9fd6ff SERVER-34211 restore cached oplog pointer if restartCatalog exits early 2018-05-03 18:07:17 -04:00
Tess Avitabile
3d8e10a123 SERVER-34646 Write test for killing cursors opened by a transaction 2018-05-03 17:27:31 -04:00
Gabriel Russell
7d16f8ed5b SERVER-33067 build cdriver with cmake 2018-05-03 17:26:39 -04:00
ADAM David Alan Martin
6b23bd026b
SERVER-33909 More detailed error reporting from CAPI
The `libmongodbcapi.h` file now contains detailed documentation of
all preconditions, postconditions, and behaviors.  All operations
now take a `libmongodbcapi_status *` argument which will be
populated with the failure results of an operation.

The internals of how the `libmongodbcapi_` functions are implemented
have been rewritten to catch and report nearly all failures, as well
as to use more native C++ idioms such as exceptions and RAII.
2018-05-03 16:17:11 -04:00
Sara Golemon
397af54153
SERVER-34233 Implement shell helpers for free monitoring 2018-05-03 16:04:43 -04:00
Mathew Robinson
91db8033a2 SERVER-33146 Source /etc/sysconfig/mongod in service file 2018-05-03 15:52:14 -04:00
dalyd
91b4635f09 SERVER-34656: Run secondary read workloads and snapshot read workloads on wt develop also 2018-05-03 15:31:27 -04:00
Andy Schwerin
b1cc960cb5 SERVER-34751 Replace getGlobalStorageEngine cals with getStorageEngine. 2018-05-03 13:48:18 -04:00
Jason Carey
bb2a2ccf26 SERVER-28830 check for closed conn in cursorHandleFromId
The old implementation of DBCommandCursor used when running the shell
with --readMode compatibility calls getConnection(which checks if the
connection has been closed) to construct a DBClientCursor which it
passes to setCursor. The new variant used with --readMode command calls
setCursorHandle with the cursor ID. Check that we aren't closed in the
new variant.
2018-05-03 13:37:16 -04:00
Judah Schvimer
dd45579fef SERVER-34580 Plumb commit time to commit handlers when available 2018-05-03 12:01:09 -04:00
Pavi Vetriselvan
b1a7cffd3f SERVER-34549 make kDefaultTimeoutMS a static property of ReplSetTest 2018-05-03 11:54:56 -04:00
Sara Golemon
b62535b4a8
SERVER-34792 Update sharding tests for free mon commands 2018-05-03 11:35:52 -04:00
Xiangyu Yao
cb241c3620 SERVER-34809 Make secondary reads FSM test work with other storage engines 2018-05-03 11:03:38 -04:00
Ian Boros
23432774fb SERVER-34814 change noPassthrough/change_stream_failover.js to use correct tags 2018-05-03 10:36:44 -04:00
Matthew Russotto
217a8a4f31 SERVER-34038 Make sure that commitTransaction waits for writeConcern after a read-only transaction.
This also ensures we can obtain a local snapshot when starting a transaction, by starting the
transaction before allowing the local snapshot to move forward.
2018-05-03 10:16:40 -04:00
David Golden
148d4f9ff7
Import tools: 7b16532d4653bcfcb5b3c919c7610cca8035af04 from branch master
ref: f5c4a44d32..7b16532d46
for: 3.7.10

TOOLS-1948    Use Go-native TLS dialer on platforms with openssl 0.9.x
TOOLS-1981    Revendor mgo to get SCRAM-SHA-256 support
TOOLS-1993    TOOLS qa-tests failing on server unstable
TOOLS-2005    --quiet flag not honored on mongofiles
2018-05-02 22:19:20 -04:00
Benety Goh
feadc837b1 SERVER-32335 remove unnecessary applyOperationFn constructor argument from MultiApplier
DataReplicator::multiApply() stopped requiring this function since commit d6470f9177
2018-05-02 20:03:37 -04:00
William Schultz
978ee4b254 SERVER-34557 Make sure slave_delay_clean_shutdown.js awaits secondary nodes before
reading from oplog after restarting node
2018-05-02 19:51:19 -04:00
Benety Goh
880de296d3 SERVER-31995 remove BSONObj validity check for 3.4 from InitialSyncer::getInitialSyncProgress() 2018-05-02 19:29:32 -04:00
Ian Boros
a54e19b6d2 SERVER-34032 part 2: Relax tests which attempt to resume a change stream after invalidate 2018-05-02 17:23:53 -04:00
Benety Goh
1a605a99bd SERVER-31995 omit cloner stats from initial sync stats if too large 2018-05-02 17:15:29 -04:00
Andy Schwerin
970ace9867 SERVER-34794 Construct the global ServiceContext inside a MONGO_INITIALIZER 2018-05-02 17:10:28 -04:00
Billy Donahue
8ee6a9c199 SERVER-34214 TypedCommand _flushDatabaseCacheUpdates 2018-05-02 17:06:19 -04:00
Xiangyu Yao
4cead3a326 SERVER-34656 Add custom secondary reads test to system_perf.yml 2018-05-02 16:29:18 -04:00
Xiangyu Yao
0e8b86f934 SERVER-34657 Add secondary reads YCSB test to system_perf.yml 2018-05-02 16:26:07 -04:00
Billy Donahue
dbbd060edc SERVER-34653 Add 'AuthorizationSession::isAuthenticated()' 2018-05-02 16:10:07 -04:00
David Bradford
fd9eef9377 SERVER-34697: Remove timeout from concurrency tests 2018-05-02 15:55:13 -04:00
Jason Carey
5455453a9e SERVER-29301 Upgrade MozJS to ESR 45.9.0 2018-05-02 15:40:12 -04:00
Misha Tyulenev
c76e75fef1 SERVER-34775 make stepdown_query.js test deterministic 2018-05-02 15:07:45 -04:00
Benety Goh
6fdc0e7d43 SERVER-31995 added characterization test for initial sync stats on a large database 2018-05-02 14:59:44 -04:00
Mathias Stearn
eccbc61a4c SERVER-34797 Fix dynamic link of mongo/db/repl/libserveronly_repl.so 2018-05-02 14:46:59 -04:00
Kaloian Manassiev
65d10a5bd2 SERVER-34700 Add maxTimeMS to diffservers1.js 2018-05-02 14:07:19 -04:00
Eric Milkie
d58ec924d3 SERVER-34755 ignore missing collections when shutting down backup_restore.js 2018-05-02 14:03:13 -04:00
William Schultz
e8fe32029a SERVER-34557 Restrict transactions to only run against replica set primaries 2018-05-02 13:23:13 -04:00
Benety Goh
bbe227d11d SERVER-32334 SyncTailTest and IdempotencyTest no longer require global ReplicationProcess and StorageInterface. 2018-05-02 12:16:29 -04:00
Louis Williams
d959bf7ab3 SERVER-34765 The onCommit handler in IndexBuildBlock::init should capture pointers by value 2018-05-02 11:24:05 -04:00
Andy Schwerin
3e25e21a34 SERVER-34751 Move StorageEngine ownership to ServiceContext from subclasses 2018-05-02 11:19:46 -04:00
Benety Goh
d54b9f5194 SERVER-32334 SyncTail uses ReplicationConsistency and StorageInterface provided at construction
Previously, SyncTail accessed these globals implicitly through OperationContext/ReplicationProcess.
2018-05-02 11:08:38 -04:00
Kaloian Manassiev
bfac93c92c SERVER-34773 Do not require finalize() to be have been called on the TransactionReaper handlers 2018-05-02 10:56:09 -04:00
Kaloian Manassiev
8200acfe03 SERVER-34773 Use kSessionsNamespaceString instead of its constituent StringData entries 2018-05-02 10:56:09 -04:00
Benety Goh
ed967e1216 SERVER-32334 OplogApplier and SyncTail accept ReplicationConsistencyMarkers and StorageInterface at construction 2018-05-02 10:52:08 -04:00