summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-40604 Make CollectionLock interruptibleGeert Bosch2019-04-1544-90/+119
|
* SERVER-39492 Fix encrypt_schema_types_testPawel Terlecki2019-04-151-1/+3
|
* SERVER-40335 Add waitForStepDownOnNonCommandShutdown parameterA. Jesse Jiryu Davis2019-04-153-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 specificationPawel Terlecki2019-04-1210-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 dbtestsLouis Williams2019-04-121-0/+2
|
* SERVER-40482 SERVER-40517 Fix fastcount algorithm for rollback of prepared ↵Louis Williams2019-04-126-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 instantiationJason Carey2019-04-121-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 optionSara Golemon2019-04-121-1/+0
|
* SERVER-40105 fix unittestsLouis Williams2019-04-122-15/+17
|
* SERVER-40510 Distinct command can create an invalid BSON projection spec if ↵Martin Neupauer2019-04-121-0/+4
| | | | key contains embedded null byte
* SERVER-40185 Replacement upsert in Stitch Lib takes '_id' from query.Justin Seyster2019-04-122-1/+16
|
* SERVER-40105 Improve diagnostic information in currentOp for writeConflicts ↵Louis Williams2019-04-124-49/+110
| | | | and prepareConflicts
* SERVER-40495 Cleanup manually allocated memory inside ↵Randolph Tan2019-04-121-2/+4
| | | | BatchWriteOp::targetBatch on early return
* SERVER-39396 Move stub mongo process interface with mocked ↵Evan Nixon2019-04-114-74/+174
| | | | lookupSingleDocument to shared place
* SERVER-40568 Disallow restarting the catalog on BiggieSEGregory Wlodarek2019-04-111-0/+6
|
* SERVER-40470 Use roundup_timestamp API instead of round_to_oldestSulabh Mahajan2019-04-124-23/+32
|
* SERVER-36359 Introduce SemiFuture<T> and ExecutorFuture<T>Mathias Stearn2019-04-1125-776/+1435
|
* SERVER-40590 delete KeyedExecutorMathias Stearn2019-04-113-615/+0
|
* SERVER-39567 Change find min/max options to require hintIan Boros2019-04-1113-153/+134
|
* SERVER-40524 UUIDCatalog::iterator::begin() should skip entries that have ↵Xiangyu Yao2019-04-112-0/+48
| | | | nullptr collectionPtr
* SERVER-40476 merge contents of utils/stringutils into utils/str.Billy Donahue2019-04-1160-249/+171
|
* Revert "SERVER-39403 Implement visitor for DocumentSource as precursor work for"Nick Zolnierz2019-04-1141-299/+0
| | | | This reverts commit 1b00abfda7592d701f632b9550f973c56cea818f.
* SERVER-40414 fix mac os compileBenety Goh2019-04-111-2/+2
|
* SERVER-40389 use fmt in server, add readme file to third_party/fmtBilly Donahue2019-04-112-8/+17
|
* SERVER-40381 Add the ability to specify a pipeline to an update commandJames Wahlin2019-04-1179-897/+1825
|
* SERVER-39870: Guarantee the oldest timestamp obeys any initial data ↵Daniel Gottlieb2019-04-111-10/+1
| | | | timestamp constraints.
* SERVER-37173 rollbackViaRefetch survives non-existent collection dropPavi Vetriselvan2019-04-111-8/+29
|
* SERVER-39721 Fix unary minus on value which can be min intIan Boros2019-04-112-8/+33
|
* SERVER-40577 Put lock_manager as lib dependency of uuid_catalog_testXiangyu Yao2019-04-111-0/+1
|
* SERVER-40414 fix windows compile for TaskExecutorCursorJason Carey2019-04-111-1/+1
| | | | unused named exceptions in catch statements trigger warnings on windows
* SERVER-40565 Only append valid wall times to replSetGetStatus optimesMaria van Keulen2019-04-111-2/+9
|
* SERVER-40572 add skipCommitTxnCheckPrepareMajorityCommitted failpointJudah Schvimer2019-04-111-1/+3
|
* SERVER-40553 Filter unauthorized views in listCollectionsSara Golemon2019-04-111-0/+6
|
* SERVER-39420 Remove in-memory boolean to indicate config.server.sessions ↵Blake Oler2019-04-112-9/+0
| | | | collection set up
* SERVER-40436 Ignore the 'flags' field from the 'create' commandGregory Wlodarek2019-04-1117-184/+35
|
* SERVER-40436 Ensure that the 'collMod' command takes a database MODE_X lock ↵Gregory Wlodarek2019-04-111-4/+3
| | | | during a no-op
* SERVER-40414 TaskExecutorCursorJason Carey2019-04-105-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_testNick Zolnierz2019-04-102-0/+9
|
* SERVER-40543 gen_casefold_map.py force a utf-8 when reading filesMark Benvenuto2019-04-101-1/+1
|
* SERVER-39213 remove mongosWaitsForKeys from shardingtestMisha Tyulenev2019-04-102-22/+1
|
* SERVER-39403 Implement visitor for DocumentSource as precursor work forNick Zolnierz2019-04-1041-0/+299
| | | | encryption in agg
* SERVER-40527 Implement visitor for aggregation expressionsNick Zolnierz2019-04-103-1/+648
|
* SERVER-39608 Prevent the OplogFetcher from enqueing a document twice when ↵Vesselina Ratcheva2019-04-103-3/+172
| | | | using StartingPoint::kEnqueueFirstDoc
* SERVER-40463 String utils output StringData instead of std::stringHenrik Edin2019-04-108-69/+80
|
* SERVER-40542 Remove references to pip2Mathew Robinson2019-04-109-9/+9
|
* SERVER-40202 TransactionCoordinator should update replica set monitors based ↵Jack Mulrow2019-04-105-12/+169
| | | | on participant responses
* SERVER-39848: Correct curop_test.cppDaniel Gottlieb2019-04-101-3/+4
|
* SERVER-39515 Remove DatabaseCatalogEntryXiangyu Yao2019-04-1063-1477/+854
|
* SERVER-39848: Add flow control diagnostics.Daniel Gottlieb2019-04-0914-33/+223
|
* SERVER-40329: Log all transactions at TXN verbosity levels >= 1Lingzhi Deng2019-04-092-2/+53
|