dawidwys commented on a change in pull request #14913: URL: https://github.com/apache/flink/pull/14913#discussion_r581929872
########## File path: flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/restore/RocksDBHandle.java ########## @@ -49,39 +41,34 @@ import java.io.File; import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.nio.file.StandardCopyOption; import java.util.ArrayList; -import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.function.Function; +import static org.apache.flink.contrib.streaming.state.snapshot.RocksSnapshotUtil.SST_FILE_SUFFIX; + /** - * Base implementation of RocksDB restore operation. - * - * @param <K> The data type that the serializer serializes. + * Utility for creating a RocksDB instance from a restored state and populating {@link + * org.apache.flink.contrib.streaming.state.RocksDBKeyedStateBackend.RocksDbKvStateInfo}. */ -public abstract class AbstractRocksDBRestoreOperation<K> - implements RocksDBRestoreOperation, AutoCloseable { +class RocksDBHandle implements AutoCloseable { Review comment: Any suggestions for a better name? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org