ibessonov commented on code in PR #3484:
URL: https://github.com/apache/ignite-3/pull/3484#discussion_r1538673837


##########
modules/cluster-management/src/main/java/org/apache/ignite/internal/cluster/management/raft/RocksDbClusterStateStorage.java:
##########
@@ -86,6 +87,13 @@ public RocksDbClusterStateStorage(Path dbPath, String 
nodeName) {
 
     @Override
     public CompletableFuture<Void> start() {
+        // delete existing data, relying on log playback
+        try {
+            RocksDB.destroyDB(dbPath.toString(), options);

Review Comment:
   This is a solution #1 from the JIRA that I proposed, everything seems fine



-- 
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]

Reply via email to