wuchong commented on a change in pull request #11063: 
[FLINK-15938][table-planner-blink] Enable state cleanup in background…
URL: https://github.com/apache/flink/pull/11063#discussion_r378021090
 
 

 ##########
 File path: 
flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/operators/join/stream/state/JoinRecordStateViews.java
 ##########
 @@ -79,6 +79,7 @@ static StateTtlConfig createTtlConfig(long retentionTime, 
boolean stateCleaningE
                                .newBuilder(Time.milliseconds(retentionTime))
                                
.setUpdateType(StateTtlConfig.UpdateType.OnCreateAndWrite)
                                
.setStateVisibility(StateTtlConfig.StateVisibility.ReturnExpiredIfNotCleanedUp)
+                               .cleanupInBackground()
 
 Review comment:
   `cleanupInBackground()` is enabled by default and this method is deprecated. 
Do we need to add this in master?
   From my understanding, we only need to update 1.9 branch. 

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to