diff options
author | Luke Chen <luke.chen@mongodb.com> | 2018-03-14 16:52:29 +1100 |
---|---|---|
committer | Luke Chen <luke.chen@mongodb.com> | 2018-03-14 16:52:29 +1100 |
commit | c5bfa9391f364ad1f36334d95c487a077aa76cea (patch) | |
tree | 52e1df6a798ba881bedc2f10d1dbf2dcfe0d90cf /src/third_party/wiredtiger/src/include/mutex.h | |
parent | 1481f7068376b464eb6dff954f004b023d3bbbd5 (diff) | |
download | mongo-c5bfa9391f364ad1f36334d95c487a077aa76cea.tar.gz |
Import wiredtiger: b33708d7d9b2971cda05e71fcba6067b230b97cc from branch mongodb-3.8
ref: 60a06941b8..b33708d7d9
for: 3.7.4
WT-3913 Enhance cursor operations to account for prepare state
WT-3950 Add some rollback_to_stable statistics
WT-3958 Add query API to get most recent checkpoint's stable timestamp
WT-3969 enhance format tester to account for prepare state
WT-3972 Allow more than 64K cursors to be open on a data source simultaneously
WT-3975 arg format mismatch after rwlock changes
Diffstat (limited to 'src/third_party/wiredtiger/src/include/mutex.h')
-rw-r--r-- | src/third_party/wiredtiger/src/include/mutex.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/include/mutex.h b/src/third_party/wiredtiger/src/include/mutex.h index 2a3fc7448f8..ba32d166f03 100644 --- a/src/third_party/wiredtiger/src/include/mutex.h +++ b/src/third_party/wiredtiger/src/include/mutex.h @@ -44,9 +44,8 @@ struct __wt_rwlock { /* Read/write lock */ uint8_t current; /* Current ticket */ uint8_t next; /* Next available ticket */ uint8_t reader; /* Read queue ticket */ - uint8_t __notused; /* Padding */ - uint16_t readers_active;/* Count of active readers */ - uint16_t readers_queued;/* Count of queued readers */ + uint8_t readers_queued; /* Count of queued readers */ + uint32_t readers_active;/* Count of active readers */ } s; } u; |