Commit Graph

53834 Commits

Author SHA1 Message Date
Amirsaman Memaripour 63338e0dd6 SERVER-51690 Futurize and refactor Mongos execCommandClient 2020-11-18 00:38:58 +00:00
Amirsaman Memaripour 13bb35d34d SERVER-51690 Futurize Mongos runCommand for async command execution 2020-11-17 17:07:44 +00:00
Amirsaman Memaripour f4373b85f0 SERVER-51690 Futurize clientCommand to support async command execution 2020-11-05 02:21:26 +00:00
Amirsaman Memaripour 51067e0952 SERVER-49108 Convert buildInfo command to async implementation 2020-11-03 16:43:16 +00:00
Amirsaman Memaripour 9262aac9e7 SERVER-51690 Futurize Mongos handleRequest for async command execution 2020-11-02 17:38:29 +00:00
Ben Caimano 5b57abab3e SERVER-51499 Track service executor statistics more thoroughly 2020-10-23 21:48:26 +00:00
Ben Caimano 907bf93c57 SERVER-49109 Move to the dedicated executor after blocking commands 2020-10-23 21:48:21 +00:00
Ben Caimano 243a506fca SERVER-49109 ServiceExecutorFixed tracks work and sessions
This commit also adds a server parameter to start on the "borrowed"
threading model and introduces an evergreen variant for it.
2020-10-23 21:47:37 +00:00
Amirsaman Memaripour 8cff99b2c4 SERVER-50452 Make destruction of ServiceExecutorFixed deterministic
This commit introduces new fail-points to allow unit-tests
deterministically examine creation and return of executor threads.
2020-10-23 21:47:37 +00:00
Ben Caimano 439730c7f4 SERVER-51279 Updating runOnDataAvailable 2020-10-20 22:06:45 +00:00
Amirsaman Memaripour 18f1d00029 SERVER-49107 Futurize migrationConflictHandler and runCommandInvocation 2020-10-19 22:44:45 +00:00
Ben Caimano fa29e47f37 SERVER-51278 Introduced ClientStrand 2020-10-19 20:25:05 +00:00
Amirsaman Memaripour b03c93d55b SERVER-49107 Futurize and refactor command invocation 2020-10-14 17:38:12 +00:00
Amirsaman Memaripour 1d6af89487 SERVER-49107 Futurize and refactor runCommandImpl() 2020-10-14 17:17:30 +00:00
Amirsaman Memaripour 38f350478a SERVER-49107 Futurize and refactor execCommandDatabase() 2020-09-26 01:43:36 +00:00
Amirsaman Memaripour 4c283d5c34 SERVER-49107 Futurize and refactor receivedCommands() 2020-09-25 18:16:01 +00:00
Ben Caimano efb3f7689e SERVER-51080 Fix mongobridge startup ordering 2020-09-22 16:02:52 +00:00
Amirsaman Memaripour 66b412e165 SERVER-49107 Add support for async execution to handleRequest
This patch extends handleRequest to capture context for out-of-line
execution and makes ServiceStateMachine own the opCtx used for
command execution.
2020-09-17 17:36:35 +00:00
Ben Caimano 5f3f8d9745 SERVER-50947 Implize ServiceStateMachine 2020-09-17 02:08:00 +00:00
Amirsaman Memaripour dabf0e0842 SERVER-49107 Allow binding clients to executor threads 2020-09-14 22:01:12 +00:00
Ben Caimano 92e7ecf4ba SERVER-49073 Track connections that are maxConn exempt or threaded 2020-09-14 04:04:35 +00:00
Ben Caimano 46b220b83e Revert "SERVER-50867 Roll back ServiceStateMachine changes temporarily"
This reverts commit 575f370475.
2020-09-14 04:01:09 +00:00
Ben Caimano 575f370475 SERVER-50867 Roll back ServiceStateMachine changes temporarily
This reverts these commits:
b039b24746e1d1fb10a32e1ca4831423c01d4cd7: SERVER-48980
97e16187ff3065d242a61a52e7b6edd4d439fb30: SERVER-49072
0607a6c291bf4cf4580a4444d826ed3c3ac3df47: SERVER-49104
2020-09-11 20:22:25 +00:00
Benety Goh 6a031f67c7 SERVER-50519 index build is resumable only if commit quorum is the default (i.e. all-voters) and node is a voter 2020-09-11 18:10:28 +00:00
Gregory Wlodarek d735d9cf70 SERVER-50704 Create exportCollection command 2020-09-11 17:41:18 +00:00
Cheahuychou Mao 8dfebbb8bc SERVER-50872 Make the OpObserver construct TenantMigrationAccessBlocker on observing insertion for state doc with state "data sync" 2020-09-11 17:16:27 +00:00
Charlie Swanson b39aecbdf4 SERVER-50764 Fix bad merge conflict - add break; 2020-09-11 16:50:11 +00:00
Ruoxin Xu 1373280c25 SERVER-43503 Complete TODO listed in SERVER-32565 2020-09-11 16:14:54 +00:00
Mark Benvenuto 642adc7547 SERVER-50036 logd() fails with invalid format string 2020-09-11 15:53:33 +00:00
Spencer Jackson a5f72d4b37 SERVER-50736 Make OpenSSL explicitly accept SNIs 2020-09-11 15:28:31 +00:00
David Storch 712013ffd4 SERVER-50884 Change order of SBE traverse 'from' and 'in' branches in debug output 2020-09-11 14:33:20 +00:00
Mihai Andrei 94e5a1620a SERVER-49447 Implement validation error generation for jsonSchema scalar/miscellaneous keywords 2020-09-11 14:15:15 +00:00
Milena Ivanova a70ac5e30e SERVER-49742 ExpressionAdd in SBE should use doubleDoubleSum built-in when called with more than two operands 2020-09-11 12:21:04 +00:00
Anton Korshunov 8216b783d1 SERVER-48472 Make SBE raise a KeyNotFound error when $_resumeAfter record id is not found 2020-09-11 10:38:26 +00:00
Luke Chen 8222bf3550 Import wiredtiger: a68890f718f74cdc9e9961bf5b33f5b125e853dd from branch mongodb-4.6
ref: df168fcd37..a68890f718
for: 4.7.0

WT-6592       Avoid marking errors for skipped Python tests due to not-built extension
WT-6653       Rollback/Restart txn before retry in RTS test
2020-09-11 07:31:12 +00:00
Gregory Wlodarek f10e0ad7ca SERVER-29418 Create a storage-engine agnostic checkpointing thread 2020-09-10 23:41:14 +00:00
Gregory Noma b68df4e87d SERVER-49215 Differentiate internal idents used for resumable index build information from other internal idents 2020-09-10 22:22:32 +00:00
Gregory Noma 4ff797fa43 SERVER-50775 Use failpoint for yielding index build locks in RollbackResumableIndexBuildTest 2020-09-10 21:13:14 +00:00
Ali Mir 0927e74e9d SERVER-50417 Change notMasterUnacknowledgedWrites to notPrimaryUnacknowledgedWrites in serverStatus 2020-09-10 18:44:30 +00:00
Louis Williams 11c68393df SERVER-48452 Internal readers should default to reading without a timestamp
Removes ReadSource::kUnset in favor of kNoTimestamp as the default

Makes the following behavioral changes to AutoGetCollectionForRead:
* Removes special early-return handling for kNoTimestamp
* Only user or DBDirectClient operations are eligible to read at
  kLastApplied.
* Operations only read at kLastApplied when in the SECONDARY state, nothing
  else. This means most internal operations that use DBDirectClient do not need
  to use a ReadSourceScope to ensure they read at kNoTimestamp.
2020-09-10 18:15:18 +00:00
A. Jesse Jiryu Davis ce0487190c SERVER-49858 Add Command::acceptsAnyApiVersionParameters 2020-09-10 17:20:46 +00:00
Lingzhi Deng 93a5cd255c SERVER-50705: Create importCollection command 2020-09-10 16:14:55 +00:00
James Wahlin 3e453b013e SERVER-50557 Remove unused ExpressionContext::jsFnTimeoutMillis member var 2020-09-10 15:09:02 +00:00
Ali Mir 759787fd5a SERVER-50416 Change notMasterLegacyUnacknowledgedWrites to notPrimaryLegacyUnacknowledgedWrites in serverStatus 2020-09-10 14:12:01 +00:00
Pierlauro Sciarelli 9dac088a96 SERVER-50853 Enable retries of getShardAndCollectionVersion on the config server 2020-09-10 08:23:25 +00:00
Mikhail Shchatko 57cb74336b SERVER-50313 Add standalone tasks to live-record buildvariant 2020-09-10 07:27:00 +00:00
Billy Donahue 0ce948778c SERVER-50228 ThreadPool predicate condvar wait
- Switch std::vector to std::list to enable node splicing.
 - fmt::format
 - ThreadPool::Impl
 - check for uncallable onCreate in ServiceExecutorFixed
 - _workerThreadBody can be member of ThreadPool. Threads don't detach anymore
2020-09-10 07:09:32 +00:00
Luke Chen c7efb504fd Import wiredtiger: df168fcd373a4afc719f6134f6911a1685178041 from branch mongodb-4.6
ref: bb92ab603f..df168fcd37
for: 4.7.0

WT-6650       Coverity: Null dereferences in session::close
2020-09-10 06:42:15 +00:00
Justin Seyster 09ba65f429 SERVER-50622 Add logging for 'mr_killop_test_fp' failpoint 2020-09-10 04:55:36 +00:00
A. Jesse Jiryu Davis 74c76f296c SERVER-50375 Ensure mongos forwards API params to shards 2020-09-10 00:34:29 +00:00