summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_interface_mock.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-47812 Secondaries persist wildcard multikeypaths out of orderBernard Gorman2020-11-201-0/+1
| | | | | (cherry picked from commit bd320bc2d10cff75756a2c95986cc81ec8a5e7c7) (cherry picked from commit 48089c01bcccc193b1d8dd3c50ae5cb3e072ebed)
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-11-011-2/+2
|
* Apply formatting per `clang-format-7.0.1`clang-format-7.0.12019-07-261-4/+5
|
* SERVER-41861 Replace 'all_committed' with 'all_durable'Gregory Wlodarek2019-07-261-2/+2
| | | | (cherry picked from commit 25d5f6a0b01f261e633587013e4ab8116ea2930a)
* SERVER-40357 expand all calls to MONGO_DISALLOW_COPYINGBilly Donahue2019-03-281-3/+4
| | | | | | | | | | | 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-39680 Save start timestamp in config.transactionsA. Jesse Jiryu Davis2019-03-061-1/+1
|
* SERVER-38891 Fix some `collection_cloner_test` races.ADAM David Alan Martin2019-01-251-50/+48
| | | | | | | The mocks in these tests hold pointers to items on the stack. The mocks are held in background threads, such as executors. If the executor accesses one of those mocks after the stack frame of its creator leaves, the pointer to the stack frame is now invalid.
* Revert "SERVER-38527 Merge supportsRecoverToStableTimestamp into ↵Gregory Wlodarek2019-01-231-0/+4
| | | | | | supportsRecoveryTimestamp" This reverts commit b54951b484b2cba44ffa424f43acb870365e3f12.
* SERVER-38527 Merge supportsRecoverToStableTimestamp into ↵Gregory Wlodarek2019-01-101-4/+0
| | | | supportsRecoveryTimestamp
* Revert "SERVER-38527 Merge supportsRecoverToStableTimestamp into ↵Gregory Wlodarek2019-01-041-0/+4
| | | | | | supportsRecoveryTimestamp" This reverts commit 804617152c5b4f89c8d54c83bdea90cb2c8541b4.
* SERVER-38527 Merge supportsRecoverToStableTimestamp into ↵Gregory Wlodarek2019-01-031-4/+0
| | | | supportsRecoveryTimestamp
* SERVER-34620 Make speculative read atClusterTime not wait for the given ↵Matthew Russotto2018-12-061-1/+2
| | | | cluster time to be majority-committed
* SERVER-35449 Return the oldest read timestamp used by any open transactionJason Chan2018-11-291-0/+3
|
* SERVER-37179 Pull out starting transaction from session checkout and push it ↵Siyuan Zhou2018-11-081-0/+4
| | | | | | | | down to before command execution. Transaction will begin or continue after waiting for read concern. If an error is thrown on starting transaction, it'll be able to wait for write concern if a write concern is specified.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-37227 Reintroduce enableMajorityReadConcern:false server parameterTess Avitabile2018-10-021-0/+4
|
* SERVER-36101 Replication should not depend on the presence of ↵Dianna Hohensee2018-07-251-1/+6
| | | | lastStableCheckpointTimestamp in status reports to identify recoverable rollback capable nodes
* SERVER-32825 Add upgrade/downgrade infrastructure for timestamp safe unique ↵nehakhatri52018-05-181-0/+9
| | | | | | index. This change is currently guarded by a gating variable.
* SERVER-34895 only set stable timestamp to timestamps in oplogJudah Schvimer2018-05-151-0/+7
|
* SERVER-33349 Add command to get stable checkpoint timestampJudah Schvimer2018-04-101-0/+5
|
* SERVER-33493 Have WT RTT rollback keep correct countsJudah Schvimer2018-03-291-1/+7
|
* SERVER-29213: Have WiredTiger support recoverToStableTimestamp.Daniel Gottlieb2018-03-241-1/+1
|
* SERVER-33846: Set oplog visibility synchronously on secondaries, at the end ↵Daniel Gottlieb2018-03-151-0/+6
| | | | | | | | | | | | | | | | | | | of every batch. This patch introduces an optimization to allow secondaries to set their visibility synchronously with oplog application as well as bypassing additional journal flushing meant for primaries. Primaries replicating oplog entries atomically generate a new optime and pass it to the storage engine's oplog record store via the `oplogDiskLocRegister` method. This code path will now pass in a parameter `orderedCommit = false` that alerts the storage engine to maintain the necessary oplog visibility semantics for that write. This is existing behavior, the only difference is the addition of the `orderedCommit` parameter. Secondaries will now also call `oplogDiskLocRegister` at the end of every batch. This call will pass in the optime of the last oplog entry applied and `orderedCommit = true`. A storage engine may take this as a guarantee that there are no oplog holes prior to the input optime.
* SERVER-33873 change StorageInterface methods to accept NamespaceStringOrUUIDKyle Suarez2018-03-151-11/+11
| | | | | | | | | | | | | | This updates the following functions to take a NamespaceStringOrUUID to specify the collection: - insertDocuments - findById - deleteById - upsertById This leaves other methods unchanged; if we decide to keep the StorageInterface around and require more methods to accept a UUID, they could conceivably be updated in a similar manner.
* SERVER-33292 Have storage dictate where replication recovery should begin ↵Judah Schvimer2018-03-121-1/+9
| | | | playing oplog from
* SERVER-32272 Remove 3.4 to 3.6-specific UUID handlingMaria van Keulen2018-03-011-10/+0
|
* SERVER-32206 timestamp catalog change to declare index multikeyJudah Schvimer2018-02-021-0/+9
|
* SERVER-30926 Add timestamps to writes to minValid documentJudah Schvimer2017-12-131-2/+2
|
* SERVER-31662 Initialize rollback id to 1 and log when it changesWilliam Schultz2017-11-281-2/+2
|
* SERVER-31304: Refactor away SnapshotName.Daniel Gottlieb2017-11-211-6/+7
|
* SERVER-31002 minValid should alway be set to existent OpTime.Siyuan Zhou2017-10-271-0/+7
|
* SERVER-30131 Ensure collections on local have UUIDsMaria van Keulen2017-10-091-0/+23
|
* Revert "SERVER-30131 Ensure collections on local have UUIDs"Maria van Keulen2017-10-091-23/+0
| | | | This reverts commit 84690cb878db1b231c00d3c9fcb0005ca7cb6361.
* SERVER-30131 Ensure collections on local have UUIDsMaria van Keulen2017-10-091-0/+23
|
* SERVER-31086 adorn secondary inserts and vector inserts with timestampsEric Milkie2017-09-251-8/+13
|
* SERVER-30827 SERVER-30639 Timestamp bulk writes via changes to optime generatorEric Milkie2017-09-121-0/+9
|
* SERVER-30865 Synchronize a node's initial sync writes to the oplog with its ↵Eric Milkie2017-08-291-0/+4
| | | | lastApplied value
* SERVER-28620 Adorn all oplog writes with timestampsEric Milkie2017-08-221-3/+3
| | | | | | | These timestamps are now used to implement oplog visibility rules, in place of the current in-memory vector of uncommitted ops that the WiredTiger glue code currently uses. This change also introduces a TimestampedBSONObj class, which encapsulates a BSONObject with its associated write timestamp.
* SERVER-29898 Change StorageEngine args to ServiceContext argsWilliam Schultz2017-08-171-3/+3
|
* SERVER-29898 Call recoverToStableTimestamp under the global lock in rollbackWilliam Schultz2017-08-161-0/+4
|
* SERVER-29891 Call setStableTimestamp() when commit point or last applied ↵William Schultz2017-08-081-2/+2
| | | | optime changes
* SERVER-30184 Add mock getters to storage interface for stable timestamp and ↵Judah Schvimer2017-07-201-7/+9
| | | | initial data timestamp
* SERVER-30184 Add functions to storage interface for rollback toJudah Schvimer2017-07-201-1/+8
| | | | checkpoint
* SERVER-28912 Thread statement id from batched insert command oplog entryRandolph Tan2017-07-121-7/+9
|
* SERVER-29276 adds renameCollection function to StorageInterfaceJudah Schvimer2017-06-151-0/+8
|
* SERVER-29492 Remove task runner from collection bulk loader.Andy Schwerin2017-06-081-3/+1
|
* SERVER-29254 Moved MinValid into ReplicationProcessJudah Schvimer2017-05-301-18/+1
|
* SERVER-29254 add findSingleton and putSingleton methods to StorageInterfaceJudah Schvimer2017-05-191-0/+11
|
* SERVER-27659 Persist Rollback IdJudah Schvimer2017-04-281-1/+6
|
* Revert "SERVER-27659 Persist Rollback Id"ADAM David Alan Martin2017-04-281-6/+1
| | | | This reverts commit ac6f185017f76cc7124373e97a2c55291d5c8956.