gavinchou commented on code in PR #34137:
URL: https://github.com/apache/doris/pull/34137#discussion_r1581292770


##########
be/src/io/cache/fs_file_cache_storage.cpp:
##########
@@ -118,10 +118,14 @@ Status FSFileCacheStorage::append(const FileCacheKey& 
key, const Slice& value) {
             writer = iter->second.get();
         } else {
             std::string dir = get_path_in_local_cache(key.hash, 
key.meta.expiration_time);
-            bool exists {false};
-            RETURN_IF_ERROR(fs->exists(dir, &exists));
-            if (!exists) {
-                RETURN_IF_ERROR(fs->create_directory(dir));
+            // bool exists {false};

Review Comment:
   Remove unused code.



-- 
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

Reply via email to