diff options
author | Luke Chen <luke.chen@mongodb.com> | 2021-06-08 16:45:38 +1000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-08 07:12:32 +0000 |
commit | 9ea4d9e37c2d2308756b7e5f946f5a8990867efc (patch) | |
tree | dc323dcbe3907c75cd6783c22cceeb509e621076 /src/third_party/wiredtiger/src/include/block.h | |
parent | 87f8748f1deb47bf328f5b1884deb01efdd80e17 (diff) | |
download | mongo-9ea4d9e37c2d2308756b7e5f946f5a8990867efc.tar.gz |
Import wiredtiger: 5458e75c498e18999e2c5b0748b3bf8e989930c1 from branch mongodb-5.0
ref: cb5c125563..5458e75c49
for: 5.0.0-rc1
WT-7588 Make tiered object id numbers 32 bits
Diffstat (limited to 'src/third_party/wiredtiger/src/include/block.h')
-rw-r--r-- | src/third_party/wiredtiger/src/include/block.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/src/include/block.h b/src/third_party/wiredtiger/src/include/block.h index 5ce6c364ae9..cd6cf3e662e 100644 --- a/src/third_party/wiredtiger/src/include/block.h +++ b/src/third_party/wiredtiger/src/include/block.h @@ -196,7 +196,7 @@ struct __wt_bm { int (*salvage_valid)(WT_BM *, WT_SESSION_IMPL *, uint8_t *, size_t, bool); int (*size)(WT_BM *, WT_SESSION_IMPL *, wt_off_t *); int (*stat)(WT_BM *, WT_SESSION_IMPL *, WT_DSRC_STATS *stats); - int (*switch_object)(WT_BM *, WT_SESSION_IMPL *, uint64_t, uint32_t); + int (*switch_object)(WT_BM *, WT_SESSION_IMPL *, uint32_t, uint32_t); int (*sync)(WT_BM *, WT_SESSION_IMPL *, bool); int (*verify_addr)(WT_BM *, WT_SESSION_IMPL *, const uint8_t *, size_t); int (*verify_end)(WT_BM *, WT_SESSION_IMPL *); @@ -325,10 +325,10 @@ struct __wt_block_desc { */ struct __wt_block_file_opener { /* An id to be used with the open call to reference the current object. */ -#define WT_TIERED_CURRENT_ID 0xFFFFFFFFFFFFFFFFULL +#define WT_TIERED_CURRENT_ID 0xFFFFFFFFUL int (*open)( - WT_BLOCK_FILE_OPENER *, WT_SESSION_IMPL *, uint64_t, WT_FS_OPEN_FILE_TYPE, u_int, WT_FH **); - uint64_t (*current_object_id)(WT_BLOCK_FILE_OPENER *); + WT_BLOCK_FILE_OPENER *, WT_SESSION_IMPL *, uint32_t, WT_FS_OPEN_FILE_TYPE, u_int, WT_FH **); + uint32_t (*current_object_id)(WT_BLOCK_FILE_OPENER *); void *cookie; /* Used in open call */ }; |