ibessonov commented on a change in pull request #402:
URL: https://github.com/apache/ignite-3/pull/402#discussion_r731796755



##########
File path: 
modules/storage-rocksdb/src/main/java/org/apache/ignite/internal/storage/rocksdb/RocksDbTableStorage.java
##########
@@ -199,16 +209,19 @@ else if (handleName.startsWith(CF_PARTITION_PREFIX)) {
     }
 
     /** {@inheritDoc} */
-    @Override public PartitionStorage getOrCreatePartition(int partId) {
-        assert partId < partitions : S.toString(
-            "Attempt to create partition with id outside of configured range",
-            "partitionId", partId, false,
-            "partitions", partitions, false
-        );
+    @Override public void destroy() throws StorageException {
+        stop();
 
-        ColumnFamily partitionCf = partitionCfs.get(partId);
+        IgniteUtils.deleteIfExists(tablePath);

Review comment:
       Do you mean "mkdir" in start method or literally determining location 
for the storage?




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