masteryhx commented on code in PR #19679:
URL: https://github.com/apache/flink/pull/19679#discussion_r935732150
##########
flink-state-backends/flink-statebackend-rocksdb/src/main/java/org/apache/flink/contrib/streaming/state/RocksDBKeyedStateBackend.java:
##########
@@ -658,8 +685,6 @@ public void notifyCheckpointAborted(long checkpointId)
throws Exception {
stateDesc, snapshotTransformFactory,
newMetaInfo.getStateSerializer());
newMetaInfo.updateSnapshotTransformFactory(wrappedSnapshotTransformFactory);
- ttlCompactFiltersManager.configCompactFilter(stateDesc,
newMetaInfo.getStateSerializer());
Review Comment:
Actually, it's just the only place different between two
`createInternalState()`.
compactFilter cannot be registered twice currently, so I just make
`createInternalState` who means creating state but not which means creating or
updating call it.
--
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]