rpuch commented on code in PR #6229: URL: https://github.com/apache/ignite-3/pull/6229#discussion_r2197857090
########## modules/storage-rocksdb/src/main/java/org/apache/ignite/internal/storage/rocksdb/RocksDbStorageEngine.java: ########## @@ -270,4 +273,24 @@ public void destroyMvTable(int tableId) { rocksDbStorage.rocksDbInstance.destroyTable(tableId); } } + + @Override + public Set<Integer> tableIdsOnDisk() { + return storageByProfileName.values().stream() + .flatMap(storage -> storage.rocksDbInstance.tableIdsInRocksDb().stream()) Review Comment: Renamed it to tableIdsOnDisk ########## modules/storage-rocksdb/src/main/java/org/apache/ignite/internal/storage/rocksdb/index/AbstractRocksDbIndexStorage.java: ########## @@ -257,14 +257,27 @@ String createStorageInfo() { } /** - * Deletes the data associated with the index, using passed write batch for the operation. + * Deletes the data associated with the index to prepare the storage for subsequent use, using passed write batch for the operation. + * + * @throws RocksDBException If failed to delete data. + */ + public final void eraseData(WriteBatch writeBatch) throws RocksDBException { Review Comment: Oops. Made another rename -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org