tillrohrmann commented on a change in pull request #18083:
URL: https://github.com/apache/flink/pull/18083#discussion_r785029012
##########
File path:
flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBOptions.java
##########
@@ -40,7 +43,14 @@
.noDefaultValue()
.withDeprecatedKeys("state.backend.rocksdb.checkpointdir")
.withDescription(
- "The local directory (on the TaskManager) where
RocksDB puts its files.");
+ Description.builder()
+ .text(
+ "The local directory (on the
TaskManager) where RocksDB puts its files. Per default, it will be
<WORKING_DIR>/tmp. See %s for more details.",
Review comment:
What we gain is that the working directory of RocksDB and the local
state store directory are by default located on the same volume. This allows us
to use hard links for copying the sst files. If they were located on different
volumes, then we would have to copy the files over which is obviously slower.
So long story short, it gives us a better default behaviour.
--
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]