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

yuzhou pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new 02412eba59 [ISSUE #9933] Fix the failure when 
RocksDBConfigToJsonCommand exports locally. (#9934)
02412eba59 is described below

commit 02412eba595616b4fbbe06333d3973e754d595f6
Author: rongtong <[email protected]>
AuthorDate: Fri Dec 19 10:03:30 2025 +0800

    [ISSUE #9933] Fix the failure when RocksDBConfigToJsonCommand exports 
locally. (#9934)
    
    Co-authored-by: RongtongJin <[email protected]>
---
 .../rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java
 
b/tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java
index d65a04136b..43ab46ef26 100644
--- 
a/tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java
+++ 
b/tools/src/main/java/org/apache/rocketmq/tools/command/metadata/RocksDBConfigToJsonCommand.java
@@ -130,7 +130,7 @@ public class RocksDBConfigToJsonCommand implements 
SubCommand {
             System.out.print("Rocksdb path is invalid.\n");
             return;
         }
-        path = Paths.get(path, type.toString()).toString();
+        path = Paths.get(path, type.getTypeName()).toString();
         String exportFile = commandLine.hasOption("exportFile") ? 
commandLine.getOptionValue("exportFile").trim() : null;
         Map<String, JSONObject> configMap = getConfigMapFromRocksDB(path, 
type);
         if (configMap != null) {

Reply via email to