diff options
author | Luke Chen <luke.chen@mongodb.com> | 2019-03-05 13:25:53 +1100 |
---|---|---|
committer | Luke Chen <luke.chen@mongodb.com> | 2019-03-05 13:27:30 +1100 |
commit | 70f793946b5e3872d07f73908b2d45a31cce051d (patch) | |
tree | 70cd44000deed16e6c4a9179f326dba1c08953be /src/third_party/wiredtiger/src/include/txn.h | |
parent | 6f3c3df4fc0abda76fd97e970ced4a01f0c48007 (diff) | |
download | mongo-70f793946b5e3872d07f73908b2d45a31cce051d.tar.gz |
Import wiredtiger: afdead1093b5c5b41dd54ddddf6f42d92bef1666 from branch mongodb-4.2
ref: 37e1570f82..afdead1093
for: 4.1.9
WT-4413 Add optional compact progress messages
WT-4465 Add documentation for a dhandle's lifecycle
WT-4514 Implement assert=durable_timestamp
WT-4517 Change WT data format to avoid writing stable timestamps
WT-4537 Fix WiredTiger cursor prev/next traversal failure on prepare retry
WT-4554 Enhance WT salvage to handle the case of corrupted WiredTiger.turtle
WT-4556 workgen: add synchronization points during run time
WT-4558 WiredTiger connection statistics cursor incorrectly provides doubled-up values
WT-4568 Operation tracking visualization incorrectly displays call stacks
WT-4573 Reducing calls to __wt_epoch from session reset
WT-4587 Parallelize the script that parses operation tracking files
WT-4595 Coverity "null pointer dereference" complaints
WT-4596 Simplify wt utility's session/connection handling
WT-4599 Show latency threshold violations in operation visualizations
WT-4605 workgen: read_write_storms.py needs a public domain notice
WT-4606 workgen: remove lsm from the default table type in wtperf emulation
WT-4613 Skip the wt4333_handle_locks test on OS X
WT-4615 Sync backup file before returning backup cursor
WT-4617 Cursor next/prev returns PREPARE_CONFLICT only once
Diffstat (limited to 'src/third_party/wiredtiger/src/include/txn.h')
-rw-r--r-- | src/third_party/wiredtiger/src/include/txn.h | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/src/third_party/wiredtiger/src/include/txn.h b/src/third_party/wiredtiger/src/include/txn.h index 37b0421962b..cce5bd4cbc7 100644 --- a/src/third_party/wiredtiger/src/include/txn.h +++ b/src/third_party/wiredtiger/src/include/txn.h @@ -319,24 +319,28 @@ struct __wt_txn { const char *rollback_reason; /* If rollback, the reason */ /* AUTOMATIC FLAG VALUE GENERATION START */ -#define WT_TXN_AUTOCOMMIT 0x00001u -#define WT_TXN_ERROR 0x00002u -#define WT_TXN_HAS_ID 0x00004u -#define WT_TXN_HAS_SNAPSHOT 0x00008u -#define WT_TXN_HAS_TS_COMMIT 0x00010u -#define WT_TXN_HAS_TS_READ 0x00020u -#define WT_TXN_IGNORE_PREPARE 0x00040u -#define WT_TXN_NAMED_SNAPSHOT 0x00080u -#define WT_TXN_PREPARE 0x00100u -#define WT_TXN_PUBLIC_TS_COMMIT 0x00200u -#define WT_TXN_PUBLIC_TS_READ 0x00400u -#define WT_TXN_READONLY 0x00800u -#define WT_TXN_RUNNING 0x01000u -#define WT_TXN_SYNC_SET 0x02000u -#define WT_TXN_TS_COMMIT_ALWAYS 0x04000u -#define WT_TXN_TS_COMMIT_KEYS 0x08000u -#define WT_TXN_TS_COMMIT_NEVER 0x10000u -#define WT_TXN_UPDATE 0x20000u +#define WT_TXN_AUTOCOMMIT 0x000001u +#define WT_TXN_ERROR 0x000002u +#define WT_TXN_HAS_ID 0x000004u +#define WT_TXN_HAS_SNAPSHOT 0x000008u +#define WT_TXN_HAS_TS_COMMIT 0x000010u +#define WT_TXN_HAS_TS_DURABLE 0x000020u +#define WT_TXN_HAS_TS_READ 0x000040u +#define WT_TXN_IGNORE_PREPARE 0x000080u +#define WT_TXN_NAMED_SNAPSHOT 0x000100u +#define WT_TXN_PREPARE 0x000200u +#define WT_TXN_PUBLIC_TS_COMMIT 0x000400u +#define WT_TXN_PUBLIC_TS_READ 0x000800u +#define WT_TXN_READONLY 0x001000u +#define WT_TXN_RUNNING 0x002000u +#define WT_TXN_SYNC_SET 0x004000u +#define WT_TXN_TS_COMMIT_ALWAYS 0x008000u +#define WT_TXN_TS_COMMIT_KEYS 0x010000u +#define WT_TXN_TS_COMMIT_NEVER 0x020000u +#define WT_TXN_TS_DURABLE_ALWAYS 0x040000u +#define WT_TXN_TS_DURABLE_KEYS 0x080000u +#define WT_TXN_TS_DURABLE_NEVER 0x100000u +#define WT_TXN_UPDATE 0x200000u /* AUTOMATIC FLAG VALUE GENERATION STOP */ uint32_t flags; }; |