summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-50317 Const correct uses of CollectionHenrik Edin2020-09-021-1/+1
| | | | | | Most of the code should only need a const Collection now. AutoGetCollection returns a const Collection by default. There is a placeholder getWritableCollection() interface that will handle the necessary steps we need for lock free reads in the future. Added some operators to AutoGetCollection so it behaves more like a smart pointer.
* SERVER-47667: Create FCVOpObserverGrace Luong2020-08-191-0/+3
|
* SERVER-48860 Create migration oplog applier class, writing no-ops onlyMatthew Russotto2020-08-171-1/+5
|
* SERVER-47531 OpObserver: Convert usage of ↵Cheahuychou Mao2020-05-081-4/+23
| | | | getCollectionDescription_DEPRECATED to getCollectionDescription
* SERVER-47870 Push updated majority commit point values on config servers ↵Kevin Pulo2020-05-041-0/+2
| | | | into configOpTime
* SERVER-9306 Ability to temporarily forbid query optimizer from using index ↵Zhihui Fan2020-04-221-1/+1
| | | | | | ("Hidden Index") SERVER-47275 Take over and complete Hidden Indexes PR Co-authored-by: Ruoxin Xu <ruoxin.xu@mongodb.com>
* SERVER-47461 Remove commit quorum field from StartIndexBuild oplog entry.Suganthi Mani2020-04-141-1/+0
|
* SERVER-39071 Implements commit quorum for two phase index builds.Suganthi Mani2020-03-021-0/+1
|
* SERVER-45806 Record pre-images on updates and deletes when recordPreImage is ↵Jonathan Reams2020-02-101-2/+4
| | | | enabled
* SERVER-44911 Make index operations abort concurrent outgoing migrationsCheahuychou Mao2019-12-111-0/+1
|
* SERVER-43315 OpObserver::onAbortIndexBuild() accepts reason for aborting ↵Benety Goh2019-09-131-0/+1
| | | | index as a Status
* SERVER-40475 Migrate sentinel entry for retryable writes converted to ↵Matthew Saltz2019-05-021-1/+3
| | | | transactions
* SERVER-39940 Model a shard key update as a delete inside the chunk migration ↵Blake Oler2019-04-241-1/+2
| | | | cloner if the document moves out of a currently-migrating chunk
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-1/+2
| | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done
* SERVER-39935 Don't pass in optime when migrating transaction statementsBlake Oler2019-03-201-3/+1
|
* SERVER-39441 Write the new 'prepareTransaction' command on primaryJason Chan2019-03-111-2/+2
|
* SERVER-39926 Observe prepared transactions on prepare for migration to ↵Blake Oler2019-03-081-4/+4
| | | | guarantee collection locking
* Revert "SERVER-39441 Write the new 'prepareTransaction' command on primary"Benety Goh2019-03-071-2/+2
| | | | This reverts commit 86c1120002b6f28183f024f373ecc58123624a46.
* SERVER-39441 Write the new 'prepareTransaction' command on primaryJason Chan2019-03-071-2/+2
|
* SERVER-39021 Switch migrations to observe multi-statement transaction CRUD ↵Blake Oler2019-02-211-0/+4
| | | | statements onCommit instead of onCRUD
* SERVER-39561 Split OpObserver::onTransactionCommit() into two functions for ↵Blake Oler2019-02-201-4/+7
| | | | unprepared and prepared transactions respectively
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-39017 Allow prepared transaction statements to persist in-memory ↵Blake Oler2019-02-011-2/+5
| | | | until commit
* SERVER-39067 Implement new simultaneous index builds abortIndexBuild oplog ↵Gregory Wlodarek2019-02-011-1/+3
| | | | entry in OpObserver and oplog.cpp
* SERVER-39066 Add OpObservers and oplog handling for startIndexBuild and ↵Dianna Hohensee2019-01-221-0/+20
| | | | commitIndexBuild
* SERVER-38800 OpObserver accepts numRecords for drop and rename operationsBenety Goh2019-01-081-0/+3
|
* SERVER-37350 Shards should reject writes in snapshot sharded transactions to ↵Jack Mulrow2018-10-301-3/+6
| | | | chunks that have moved
* SERVER-37443 Make catalog objects survive collection rename.David Storch2018-10-231-1/+2
| | | | | | This change only applies to collection renames within the same database. Rename across databases requires copying the data, and the resulting collection will have a new UUID.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-37487 Aborting a prepared transaction must not respect ↵Tess Avitabile2018-10-051-1/+2
| | | | maxTransactionLockMillis
* SERVER-35865 SERVER-35816 SERVER-35730 Write commit oplog entry on commit of ↵Judah Schvimer2018-09-211-1/+3
| | | | prepared transaction
* SERVER-36084 Remove sharding runtime dependency from OpObserverImplHenrik Edin2018-09-201-20/+44
| | | | | Implement a new subclass of OpObserverImpl to handle the sharding logic. Can hopefully be a pure subclass of just OpObserver when OpTimes can be passed into observers.
* SERVER-36472 Convert OptionalCollectionUUID in OpObserver::onCreateIndex to ↵Gregory Wlodarek2018-09-071-1/+1
| | | | CollectionUUID
* SERVER-35798 preallocate prepare timestampJudah Schvimer2018-08-071-1/+1
|
* SERVER-35597 SERVER-35598 Ensure prepared transactions can be committedJudah Schvimer2018-07-201-1/+1
|
* SERVER-34414 Create system indexes using the normal index creation and ↵Matthew Russotto2018-07-031-1/+2
| | | | | | | replication process. Do not create them directly on secondaries. Do create oplog entries for index creation.
* SERVER-34615 Make UUIDCatalog updates for renameCollection atomicMaria van Keulen2018-06-061-6/+18
|
* SERVER-34196 remove redundant dropTarget boolean argument from ↵Benety Goh2018-03-301-1/+0
| | | | OpObserver::onRenameCollection
* SERVER-33306 SERVER-33307 SERVER-33308 Add prepareTransaction command stub. ↵Louis Williams2018-03-211-0/+1
| | | | | | Add prepare method to WriteUnitOfWork. Implement prepareUnitOfWork in WiredTigerRecoveryUnit.
* SERVER-29933 Add onReplicationRollback OpObserver methodWilliam Schultz2018-02-211-0/+2
|
* SERVER-33058 Add onTransactionCommit and onTransactionAbort opObserversMatthew Russotto2018-02-131-0/+2
|
* SERVER-29602 New OpObserverRegistry to allow multiple observersGeert Bosch2017-12-211-4/+3
| | | | Also removes sharding specific interfaces for OpObserver.
* SERVER-29961 Close change notification cursors when a chunk migrates to a ↵Siyuan Zhou2017-09-131-1/+5
| | | | new shard
* SERVER-30371 remove dropSource from renameCollection oplog entry formatBenety Goh2017-09-061-1/+0
|
* SERVER-30407 Store pre/post-image documents when running findAndModify with ↵Randolph Tan2017-08-171-1/+2
| | | | txnNumber
* SERVER-30212 OpObserver::onRenameCollection() returns rename op timeBenety Goh2017-08-151-8/+8
|
* SERVER-28912 Thread stmtId from update and delete requests to oplogRandolph Tan2017-07-211-0/+1
|
* SERVER-28912 Thread statement id from batched insert command oplog entryRandolph Tan2017-07-121-2/+2
|
* SERVER-29904 don't generate convertToCapped oplog entriesGeert Bosch2017-07-031-5/+0
|
* SERVER-27992 Use UUIDs for replicationGeert Bosch2017-06-231-1/+2
|