Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-40604 Make CollectionLock interruptible | Geert Bosch | 2019-04-15 | 44 | -90/+119 |
| | |||||
* | SERVER-39492 Fix encrypt_schema_types_test | Pawel Terlecki | 2019-04-15 | 1 | -1/+3 |
| | |||||
* | SERVER-40335 Add waitForStepDownOnNonCommandShutdown parameter | A. Jesse Jiryu Davis | 2019-04-15 | 3 | -1/+35 |
| | | | | | | | | | | When ReplSetTest.stopSet() kills the primary with SIGTERM, it must wait for the primary to finish election handoff or, in cases where there is no candidate, for the 10-second election handoff timeout to expire. Add a parameter and use it in ReplSetTest.stopSet() to end tests quickly. Disable waitForStepDownOnNonCommandShutdown for replica sets started directly by resmoke.py so those sets shutdown quickly, too. | ||||
* | SERVER-39492 Allow array of BSON types in encrypt.bsonType specification | Pawel Terlecki | 2019-04-12 | 10 | -109/+206 |
| | | | | | | | | | Changed the IDL definition of EncryptionInfo.bsonType to use a custom type based on MatcherTypeSet. Since it is a pretty generic type we could move it to basic_types.idl. Changed InternalSchemaBinDataEncryptedTypeExpression to use MatcherTypeSet as well, rather than a single type. Parsing logic of MatcherTypeSet allowed for a concise code. | ||||
* | SERVER-40482 fix dbtests | Louis Williams | 2019-04-12 | 1 | -0/+2 |
| | |||||
* | SERVER-40482 SERVER-40517 Fix fastcount algorithm for rollback of prepared ↵ | Louis Williams | 2019-04-12 | 6 | -25/+73 |
| | | | | | | | | | | | | | | | | | | | transactions This fixes two bugs, both related the correctness of the algorithm for adjusting collection counts during rollback. The first bug is that rolled-back non-majority confirmed "prepare" oplog entries may rollback and incorrectly adjust collection fastcounts. The second bug is that a prepared and committed transaction will have incorrect collection counts after rollback. The new high-level order of operations during replication rollback are as follows: 1. Abort all active prepared transactions, rolling back any in-memory counts 2. Calculate collection count adjustments by scanning rolled-back oplog entries 3. If a 'commitTransaction' oplog entry is rolled-back, find the associated 'prepare' to calculate size adjustments 4. Rollback to the stable timestamp. Replay oplog to common point. This makes no collection count adjustments. 5. Set collection counts to previously calculated values 6. Reconstruct prepared transactions, which updates in-memory fastcounts | ||||
* | SERVER-40414 Fix lack of iterator instantiation | Jason Carey | 2019-04-12 | 1 | -1/+1 |
| | | | | | If we're going to compare an iterator to a container, it must come from that container. | ||||
* | SERVER-40607 logpath should not be a hidden cli option | Sara Golemon | 2019-04-12 | 1 | -1/+0 |
| | |||||
* | SERVER-40105 fix unittests | Louis Williams | 2019-04-12 | 2 | -15/+17 |
| | |||||
* | SERVER-40510 Distinct command can create an invalid BSON projection spec if ↵ | Martin Neupauer | 2019-04-12 | 1 | -0/+4 |
| | | | | key contains embedded null byte | ||||
* | SERVER-40185 Replacement upsert in Stitch Lib takes '_id' from query. | Justin Seyster | 2019-04-12 | 2 | -1/+16 |
| | |||||
* | SERVER-40105 Improve diagnostic information in currentOp for writeConflicts ↵ | Louis Williams | 2019-04-12 | 4 | -49/+110 |
| | | | | and prepareConflicts | ||||
* | SERVER-40495 Cleanup manually allocated memory inside ↵ | Randolph Tan | 2019-04-12 | 1 | -2/+4 |
| | | | | BatchWriteOp::targetBatch on early return | ||||
* | SERVER-39396 Move stub mongo process interface with mocked ↵ | Evan Nixon | 2019-04-11 | 4 | -74/+174 |
| | | | | lookupSingleDocument to shared place | ||||
* | SERVER-40568 Disallow restarting the catalog on BiggieSE | Gregory Wlodarek | 2019-04-11 | 1 | -0/+6 |
| | |||||
* | SERVER-40470 Use roundup_timestamp API instead of round_to_oldest | Sulabh Mahajan | 2019-04-12 | 4 | -23/+32 |
| | |||||
* | SERVER-36359 Introduce SemiFuture<T> and ExecutorFuture<T> | Mathias Stearn | 2019-04-11 | 25 | -776/+1435 |
| | |||||
* | SERVER-40590 delete KeyedExecutor | Mathias Stearn | 2019-04-11 | 3 | -615/+0 |
| | |||||
* | SERVER-39567 Change find min/max options to require hint | Ian Boros | 2019-04-11 | 13 | -153/+134 |
| | |||||
* | SERVER-40524 UUIDCatalog::iterator::begin() should skip entries that have ↵ | Xiangyu Yao | 2019-04-11 | 2 | -0/+48 |
| | | | | nullptr collectionPtr | ||||
* | SERVER-40476 merge contents of utils/stringutils into utils/str. | Billy Donahue | 2019-04-11 | 60 | -249/+171 |
| | |||||
* | Revert "SERVER-39403 Implement visitor for DocumentSource as precursor work for" | Nick Zolnierz | 2019-04-11 | 41 | -299/+0 |
| | | | | This reverts commit 1b00abfda7592d701f632b9550f973c56cea818f. | ||||
* | SERVER-40414 fix mac os compile | Benety Goh | 2019-04-11 | 1 | -2/+2 |
| | |||||
* | SERVER-40389 use fmt in server, add readme file to third_party/fmt | Billy Donahue | 2019-04-11 | 2 | -8/+17 |
| | |||||
* | SERVER-40381 Add the ability to specify a pipeline to an update command | James Wahlin | 2019-04-11 | 79 | -897/+1825 |
| | |||||
* | SERVER-39870: Guarantee the oldest timestamp obeys any initial data ↵ | Daniel Gottlieb | 2019-04-11 | 1 | -10/+1 |
| | | | | timestamp constraints. | ||||
* | SERVER-37173 rollbackViaRefetch survives non-existent collection drop | Pavi Vetriselvan | 2019-04-11 | 1 | -8/+29 |
| | |||||
* | SERVER-39721 Fix unary minus on value which can be min int | Ian Boros | 2019-04-11 | 2 | -8/+33 |
| | |||||
* | SERVER-40577 Put lock_manager as lib dependency of uuid_catalog_test | Xiangyu Yao | 2019-04-11 | 1 | -0/+1 |
| | |||||
* | SERVER-40414 fix windows compile for TaskExecutorCursor | Jason Carey | 2019-04-11 | 1 | -1/+1 |
| | | | | unused named exceptions in catch statements trigger warnings on windows | ||||
* | SERVER-40565 Only append valid wall times to replSetGetStatus optimes | Maria van Keulen | 2019-04-11 | 1 | -2/+9 |
| | |||||
* | SERVER-40572 add skipCommitTxnCheckPrepareMajorityCommitted failpoint | Judah Schvimer | 2019-04-11 | 1 | -1/+3 |
| | |||||
* | SERVER-40553 Filter unauthorized views in listCollections | Sara Golemon | 2019-04-11 | 1 | -0/+6 |
| | |||||
* | SERVER-39420 Remove in-memory boolean to indicate config.server.sessions ↵ | Blake Oler | 2019-04-11 | 2 | -9/+0 |
| | | | | collection set up | ||||
* | SERVER-40436 Ignore the 'flags' field from the 'create' command | Gregory Wlodarek | 2019-04-11 | 17 | -184/+35 |
| | |||||
* | SERVER-40436 Ensure that the 'collMod' command takes a database MODE_X lock ↵ | Gregory Wlodarek | 2019-04-11 | 1 | -4/+3 |
| | | | | during a no-op | ||||
* | SERVER-40414 TaskExecutorCursor | Jason Carey | 2019-04-10 | 5 | -0/+770 |
| | | | | | | | | Add support for a dbclientcursor style api which uses the task executor to establish cursors, fetch batches and kill cursors. This is to offer a simple api which is opCtx interruptible and uses the newer connection pool code. | ||||
* | SERVER-40527 Fix missing virtual in agg_expression_test | Nick Zolnierz | 2019-04-10 | 2 | -0/+9 |
| | |||||
* | SERVER-40543 gen_casefold_map.py force a utf-8 when reading files | Mark Benvenuto | 2019-04-10 | 1 | -1/+1 |
| | |||||
* | SERVER-39213 remove mongosWaitsForKeys from shardingtest | Misha Tyulenev | 2019-04-10 | 2 | -22/+1 |
| | |||||
* | SERVER-39403 Implement visitor for DocumentSource as precursor work for | Nick Zolnierz | 2019-04-10 | 41 | -0/+299 |
| | | | | encryption in agg | ||||
* | SERVER-40527 Implement visitor for aggregation expressions | Nick Zolnierz | 2019-04-10 | 3 | -1/+648 |
| | |||||
* | SERVER-39608 Prevent the OplogFetcher from enqueing a document twice when ↵ | Vesselina Ratcheva | 2019-04-10 | 3 | -3/+172 |
| | | | | using StartingPoint::kEnqueueFirstDoc | ||||
* | SERVER-40463 String utils output StringData instead of std::string | Henrik Edin | 2019-04-10 | 8 | -69/+80 |
| | |||||
* | SERVER-40542 Remove references to pip2 | Mathew Robinson | 2019-04-10 | 9 | -9/+9 |
| | |||||
* | SERVER-40202 TransactionCoordinator should update replica set monitors based ↵ | Jack Mulrow | 2019-04-10 | 5 | -12/+169 |
| | | | | on participant responses | ||||
* | SERVER-39848: Correct curop_test.cpp | Daniel Gottlieb | 2019-04-10 | 1 | -3/+4 |
| | |||||
* | SERVER-39515 Remove DatabaseCatalogEntry | Xiangyu Yao | 2019-04-10 | 63 | -1477/+854 |
| | |||||
* | SERVER-39848: Add flow control diagnostics. | Daniel Gottlieb | 2019-04-09 | 14 | -33/+223 |
| | |||||
* | SERVER-40329: Log all transactions at TXN verbosity levels >= 1 | Lingzhi Deng | 2019-04-09 | 2 | -2/+53 |
| |