qidaye commented on code in PR #28810:
URL: https://github.com/apache/doris/pull/28810#discussion_r1436838051


##########
be/src/olap/rowset/segment_v2/inverted_index_compound_directory.h:
##########
@@ -69,26 +66,15 @@ class CLUCENE_EXPORT DorisCompoundDirectory : public 
lucene::store::Directory {
 private:
     int filemode;
 
-    std::mutex _this_lock;
-
 protected:
-    DorisCompoundDirectory();
-    virtual void init(const io::FileSystemSPtr& fs, const char* path,
-                      lucene::store::LockFactory* lock_factory = nullptr,
-                      const io::FileSystemSPtr& compound_fs = nullptr,
-                      const char* cfs_path = nullptr);
-    void priv_getFN(char* buffer, const char* name) const;
-
-private:
+    mutable std::mutex _this_lock;
     io::FileSystemSPtr fs;
     io::FileSystemSPtr compound_fs;
     std::string directory;
     std::string cfs_directory;
-    void create();
-    static bool disableLocks;

Review Comment:
   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