Simple one line change, will enable some macro conversions in the future.
uint32_t -> bool.
ubuntu@ip-10-0-1-170:~/wiredtiger/build$ git diff ../src/include/block_chunkcache.h diff --git a/src/include/block_chunkcache.h b/src/include/block_chunkcache.h index 47193db0a..0cae141ae 100644 --- a/src/include/block_chunkcache.h +++ b/src/include/block_chunkcache.h @@ -59,7 +59,7 @@ struct __wt_chunkcache_chunk { uint8_t *chunk_memory; wt_off_t chunk_offset; size_t chunk_size; - wt_shared volatile uint32_t valid; /* Availability to read data from the chunk marked. */ + wt_shared volatile bool valid; /* Availability to read data from the chunk marked. */ /* AUTOMATIC FLAG VALUE GENERATION START 0 */ #define WT_CHUNK_FROM_METADATA 0x1u
The variable is defined in the __wt_chunkcache_chunk struct.