dawidwys commented on a change in pull request #18482:
URL: https://github.com/apache/flink/pull/18482#discussion_r793579611
##########
File path:
flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBKeyedStateBackend.java
##########
@@ -867,9 +867,9 @@ public int numKeyValueStateEntries() {
}
@Override
- public boolean requiresLegacySynchronousTimerSnapshots(CheckpointType
checkpointType) {
+ public boolean requiresLegacySynchronousTimerSnapshots(SnapshotType
checkpointType) {
return priorityQueueFactory instanceof HeapPriorityQueueSetFactory
- && checkpointType == CheckpointType.CHECKPOINT;
+ && !checkpointType.isSavepoint();
Review comment:
Yes, actually it was a bug before.
--
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]