rkhachatryan commented on a change in pull request #16171:
URL: https://github.com/apache/flink/pull/16171#discussion_r655226389
##########
File path:
flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBKeyedStateBackendBuilder.java
##########
@@ -238,6 +242,16 @@ public RocksDBKeyedStateBackendBuilder(
return this;
}
+ RocksDBKeyedStateBackendBuilder<K> setRocksDBStateUploader(
+ RocksDBStateUploader rocksDBStateUploader) {
+ Preconditions.checkState(
Review comment:
```suggestion
Preconditions.checkState(
injectRocksDBStateUploader == null, "rocksDBStateUploader
can be only set once");
Preconditions.checkState(
```
I actually meant that the `rocksDBStateUploader` should be `null`, but
checking `numberOfTransferingThreads` also makes sense)
--
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:
[email protected]