lizhimins commented on code in PR #8081:
URL: https://github.com/apache/rocketmq/pull/8081#discussion_r1591745079
##########
common/src/main/java/org/apache/rocketmq/common/config/ConfigRocksDBStorage.java:
##########
@@ -52,8 +47,23 @@
import org.rocksdb.WriteOptions;
import org.rocksdb.util.SizeUnit;
+import java.io.File;
+import java.nio.ByteBuffer;
+import java.nio.charset.StandardCharsets;
+import java.util.ArrayList;
+import java.util.List;
+
public class ConfigRocksDBStorage extends AbstractRocksDBStorage {
+ private static final byte[] KV_DATA_VERSION_COLUMN_FAMILY_NAME =
"kvDataVersion".getBytes(StandardCharsets.UTF_8);
+ private static final byte[] KV_DATA_VERSION_KEY =
"dataVersion".getBytes(StandardCharsets.UTF_8);
+ protected ColumnFamilyHandle kvDataVersionFamilyHandle;
Review Comment:
为什么有两个版本
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]