deardeng opened a new pull request, #70677:
URL: https://github.com/apache/doris/pull/70677

   pick from https://github.com/apache/doris/pull/69116
   
   Related PR: https://github.com/apache/doris/pull/57072, 
https://github.com/apache/doris/pull/65658
   
   Problem Summary: During BE startup, get_or_set, the fully-covered lookup, 
and probe attempt to restore an absent file before background metadata loading 
completes. Their FileCacheKey leaves offset uninitialized, while the storage 
implementation now performs an exact RocksDB lookup for one block. A file with 
multiple persisted blocks can therefore miss existing cache data or restore 
only one block. Query metadata by tablet and file hash prefix, restore all 
blocks, and assert that the file hash is absent when entering synchronous 
restoration. Keep caller trigger conditions, key encoding, and existing 
tablet-range queries unchanged.
   
   Fix reuse of persistent file cache blocks while BE startup metadata loading 
is in progress.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to