diff --git a/include/libs/lru/lru.h b/include/libs/cache/cache.h
similarity index 91%
rename from include/libs/lru/lru.h
rename to include/libs/cache/cache.h
index c82e8ed746..6a2587ee96 100644
--- a/include/libs/lru/lru.h
+++ b/include/libs/cache/cache.h
@@ -13,8 +13,8 @@
* along with this program. If not, see .
*/
-#ifndef _TD_LRU_H_
-#define _TD_LRU_H_
+#ifndef _TD_CACHE_H_
+#define _TD_CACHE_H_
#ifdef __cplusplus
extern "C" {
@@ -24,4 +24,4 @@ extern "C" {
}
#endif
-#endif /*_TD_LRU_H_*/
\ No newline at end of file
+#endif /*_TD_CACHE_H_*/
\ No newline at end of file
diff --git a/source/libs/CMakeLists.txt b/source/libs/CMakeLists.txt
index eeaac61e21..007bb1e967 100644
--- a/source/libs/CMakeLists.txt
+++ b/source/libs/CMakeLists.txt
@@ -5,7 +5,7 @@ add_subdirectory(index)
add_subdirectory(wal)
add_subdirectory(parser)
add_subdirectory(scheduler)
-add_subdirectory(lru)
+add_subdirectory(cache)
add_subdirectory(catalog)
add_subdirectory(executor)
add_subdirectory(planner)
diff --git a/source/libs/cache/CMakeLists.txt b/source/libs/cache/CMakeLists.txt
new file mode 100644
index 0000000000..5ba59ef160
--- /dev/null
+++ b/source/libs/cache/CMakeLists.txt
@@ -0,0 +1,7 @@
+aux_source_directory(src CACHE_SRC)
+add_library(cache ${CACHE_SRC})
+target_include_directories(
+ cache
+ PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/cache"
+ PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
+)
\ No newline at end of file
diff --git a/source/libs/lru/inc/lruInt.h b/source/libs/cache/inc/cacheDef.h
similarity index 90%
rename from source/libs/lru/inc/lruInt.h
rename to source/libs/cache/inc/cacheDef.h
index e0da680104..2e0dbfcdb6 100644
--- a/source/libs/lru/inc/lruInt.h
+++ b/source/libs/cache/inc/cacheDef.h
@@ -13,8 +13,8 @@
* along with this program. If not, see .
*/
-#ifndef _TD_LRU_INT_H_
-#define _TD_LRU_INT_H_
+#ifndef _TD_CACHE_DEF_H_
+#define _TD_CACHE_DEF_H_
#ifdef __cplusplus
extern "C" {
@@ -24,4 +24,4 @@ extern "C" {
}
#endif
-#endif /*_TD_LRU_INT_H_*/
\ No newline at end of file
+#endif /*_TD_CACHE_DEF_H_*/
\ No newline at end of file
diff --git a/source/libs/lru/src/lru.c b/source/libs/cache/src/cache.c
similarity index 100%
rename from source/libs/lru/src/lru.c
rename to source/libs/cache/src/cache.c
diff --git a/source/libs/lru/test/lruTests.cpp b/source/libs/cache/test/cacheTests.cpp
similarity index 100%
rename from source/libs/lru/test/lruTests.cpp
rename to source/libs/cache/test/cacheTests.cpp
diff --git a/source/libs/lru/CMakeLists.txt b/source/libs/lru/CMakeLists.txt
deleted file mode 100644
index b65615dbbf..0000000000
--- a/source/libs/lru/CMakeLists.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-aux_source_directory(src LRU_SRC)
-add_library(lru ${LRU_SRC})
-target_include_directories(
- lru
- PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/lru"
- PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc"
-)
\ No newline at end of file