This is an automated email from the ASF dual-hosted git repository.

twice pushed a commit to branch unstable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git


The following commit(s) were added to refs/heads/unstable by this push:
     new 80b7d85a refactor: move rdb related code to `storage/rdb` folder 
(#2595)
80b7d85a is described below

commit 80b7d85ad7bca744bdbf614de899040e86bb1b30
Author: Edward Xu <[email protected]>
AuthorDate: Sun Oct 13 21:14:02 2024 +0800

    refactor: move rdb related code to `storage/rdb` folder (#2595)
---
 src/commands/cmd_server.cc            | 2 +-
 src/storage/{ => rdb}/rdb.cc          | 0
 src/storage/{ => rdb}/rdb.h           | 0
 src/storage/{ => rdb}/rdb_intset.cc   | 0
 src/storage/{ => rdb}/rdb_intset.h    | 0
 src/storage/{ => rdb}/rdb_listpack.cc | 0
 src/storage/{ => rdb}/rdb_listpack.h  | 0
 src/storage/{ => rdb}/rdb_ziplist.cc  | 0
 src/storage/{ => rdb}/rdb_ziplist.h   | 0
 src/storage/{ => rdb}/rdb_zipmap.cc   | 0
 src/storage/{ => rdb}/rdb_zipmap.h    | 0
 tests/cppunit/rdb_test.cc             | 2 +-
 12 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/commands/cmd_server.cc b/src/commands/cmd_server.cc
index c9529d76..2f30c55e 100644
--- a/src/commands/cmd_server.cc
+++ b/src/commands/cmd_server.cc
@@ -29,7 +29,7 @@
 #include "server/redis_reply.h"
 #include "server/server.h"
 #include "stats/disk_stats.h"
-#include "storage/rdb.h"
+#include "storage/rdb/rdb.h"
 #include "string_util.h"
 #include "time_util.h"
 
diff --git a/src/storage/rdb.cc b/src/storage/rdb/rdb.cc
similarity index 100%
rename from src/storage/rdb.cc
rename to src/storage/rdb/rdb.cc
diff --git a/src/storage/rdb.h b/src/storage/rdb/rdb.h
similarity index 100%
rename from src/storage/rdb.h
rename to src/storage/rdb/rdb.h
diff --git a/src/storage/rdb_intset.cc b/src/storage/rdb/rdb_intset.cc
similarity index 100%
rename from src/storage/rdb_intset.cc
rename to src/storage/rdb/rdb_intset.cc
diff --git a/src/storage/rdb_intset.h b/src/storage/rdb/rdb_intset.h
similarity index 100%
rename from src/storage/rdb_intset.h
rename to src/storage/rdb/rdb_intset.h
diff --git a/src/storage/rdb_listpack.cc b/src/storage/rdb/rdb_listpack.cc
similarity index 100%
rename from src/storage/rdb_listpack.cc
rename to src/storage/rdb/rdb_listpack.cc
diff --git a/src/storage/rdb_listpack.h b/src/storage/rdb/rdb_listpack.h
similarity index 100%
rename from src/storage/rdb_listpack.h
rename to src/storage/rdb/rdb_listpack.h
diff --git a/src/storage/rdb_ziplist.cc b/src/storage/rdb/rdb_ziplist.cc
similarity index 100%
rename from src/storage/rdb_ziplist.cc
rename to src/storage/rdb/rdb_ziplist.cc
diff --git a/src/storage/rdb_ziplist.h b/src/storage/rdb/rdb_ziplist.h
similarity index 100%
rename from src/storage/rdb_ziplist.h
rename to src/storage/rdb/rdb_ziplist.h
diff --git a/src/storage/rdb_zipmap.cc b/src/storage/rdb/rdb_zipmap.cc
similarity index 100%
rename from src/storage/rdb_zipmap.cc
rename to src/storage/rdb/rdb_zipmap.cc
diff --git a/src/storage/rdb_zipmap.h b/src/storage/rdb/rdb_zipmap.h
similarity index 100%
rename from src/storage/rdb_zipmap.h
rename to src/storage/rdb/rdb_zipmap.h
diff --git a/tests/cppunit/rdb_test.cc b/tests/cppunit/rdb_test.cc
index 018812b8..5c8e6dbd 100644
--- a/tests/cppunit/rdb_test.cc
+++ b/tests/cppunit/rdb_test.cc
@@ -17,7 +17,7 @@
  * under the License.
  *
  */
-#include "storage/rdb.h"
+#include "storage/rdb/rdb.h"
 
 #include <cmath>
 #include <filesystem>

Reply via email to