freemandealer commented on code in PR #43440: URL: https://github.com/apache/doris/pull/43440#discussion_r1833967826
########## be/src/io/cache/file_cache_common.h: ########## @@ -134,4 +137,51 @@ struct CacheContext { bool is_cold_data {false}; }; +struct InconsistentCacheContext { + UInt128Wrapper hash; + int64_t expiration_time; + size_t offset; + FileCacheType cache_type; + class InconsistentType { + uint32_t type; + + public: + enum : uint32_t { + NONE = 0, + FILES_INCONSISTENT = 1 << 0, + STORAGE_INCONSISTENT = 1 << 1, + SIZE_INCONSISTENT = 1 << 2, + CACHE_TYPE_INCONSISTENT = 1 << 3, Review Comment: ditto, may be 'NOT_LOADED'? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org