diff options
author | Etienne Petrel <etienne.petrel@mongodb.com> | 2022-03-29 01:02:42 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-29 01:29:17 +0000 |
commit | 0c289c9f9ea159650a9598eaeffa178c2a310544 (patch) | |
tree | 845b085a9d50e861f77cc75f9ae72c0dd336e92a /src/third_party/wiredtiger/dist | |
parent | 09a2837376dfb7ffda8ffcd8c4aaf13dcef6ca27 (diff) | |
download | mongo-0c289c9f9ea159650a9598eaeffa178c2a310544.tar.gz |
Import wiredtiger: 298dbf649d5967d6421c8ede00fbc665e945c285 from branch mongodb-master
ref: eec5d0bae8..298dbf649d
for: 6.0.0
Reverted ticket(s):
WT-8973 Define semantics of zero timestamp in our APIs
Diffstat (limited to 'src/third_party/wiredtiger/dist')
-rw-r--r-- | src/third_party/wiredtiger/dist/api_data.py | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/third_party/wiredtiger/dist/api_data.py b/src/third_party/wiredtiger/dist/api_data.py index 3442f590025..416c18669a9 100644 --- a/src/third_party/wiredtiger/dist/api_data.py +++ b/src/third_party/wiredtiger/dist/api_data.py @@ -1647,11 +1647,11 @@ methods = { 'WT_SESSION.query_timestamp' : Method([ Config('get', 'read', r''' - specify which timestamp to query: \c commit returns the most - recently set commit_timestamp; \c first_commit returns the first set - commit_timestamp; \c prepare returns the timestamp used in preparing - a transaction; \c read returns the timestamp at which the transaction - is reading. See @ref timestamp_txn_api''', + specify which timestamp to query: \c commit returns the most recently + set commit_timestamp; \c first_commit returns the first set + commit_timestamp; \c prepare returns the timestamp used in preparing a + transaction; \c read returns the timestamp at which the transaction is + reading at. See @ref timestamp_txn_api''', choices=['commit', 'first_commit', 'prepare', 'read']), ]), @@ -1666,6 +1666,10 @@ methods = { ]), 'WT_SESSION.flush_tier' : Method([ + Config('flush_timestamp', '', r''' + flush objects to all storage sources using the specified timestamp. + The value must not be older than the current oldest timestamp and it must + not be newer than the stable timestamp'''), Config('force', 'false', r''' force sharing of all data''', type='boolean'), @@ -1819,7 +1823,6 @@ methods = { be newer than the current stable timestamp. See @ref timestamp_prepare'''), ]), -'WT_SESSION.timestamp_transaction_uint' : Method([]), 'WT_SESSION.timestamp_transaction' : Method([ Config('commit_timestamp', '', r''' set the commit timestamp for the current transaction. For non-prepared transactions, @@ -1959,8 +1962,8 @@ methods = { recent \c oldest_timestamp set with WT_CONNECTION::set_timestamp; \c oldest_reader returns the minimum of the read timestamps of all active readers; \c pinned returns the minimum of the \c oldest_timestamp and the read timestamps of all active readers; - \c recovery returns the timestamp of the most recent stable checkpoint taken prior - to a shutdown; \c stable_timestamp returns the most recent \c stable_timestamp set with + \c recovery returns the timestamp of the most recent stable checkpoint taken prior to a + shutdown; \c stable_timestamp returns the most recent \c stable_timestamp set with WT_CONNECTION::set_timestamp. (The \c oldest and \c stable arguments are deprecated short-hand for \c oldest_timestamp and \c stable_timestamp, respectively.) See @ref timestamp_global_api''', |