imay commented on a change in pull request #2782: Add file cache for v2
URL: https://github.com/apache/incubator-doris/pull/2782#discussion_r374009571
##########
File path: be/src/env/env.h
##########
@@ -230,6 +233,12 @@ class RandomAccessFile {
RandomAccessFile() { }
virtual ~RandomAccessFile() { }
+ // get the cache handle of file
+ // only realized for file in cache
+ virtual Status
file_handle(std::unique_ptr<OpenedFileHandle<RandomAccessFile>>* file) {
Review comment:
is it useful?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]