gyfora commented on a change in pull request #7351: [FLINK-11008][State
Backends, Checkpointing]SpeedUp upload state files using multithread
URL: https://github.com/apache/flink/pull/7351#discussion_r243767341
##########
File path:
flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBOptions.java
##########
@@ -53,4 +53,12 @@
.key("state.backend.rocksdb.checkpoint.restore.thread.num")
.defaultValue(1)
.withDescription("The number of threads used to download files
from DFS in RocksDBStateBackend.");
+
+ /**
+ * The number of threads used to upload files to DFS in
RocksDBStateBackend.
+ */
+ public static final ConfigOption<Integer> CHECKPOINT_UPLOAD_THREAD_NUM
= ConfigOptions
+ .key("state.backend.rocksdb.checkpoint.upload.thread.num")
Review comment:
Its a bit strange that the download option is called "restore" and the
checkpoint option is called "upload", should we aim to make the naming
consistent?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services