This is an automated email from the ASF dual-hosted git repository.

jark pushed a commit to branch release-1.9
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.9 by this push:
     new f5a6589  [FLINK-15938][table-planner-blink] Enable state cleanup in 
background for streaming join in blink (#11063)
f5a6589 is described below

commit f5a658981bd86abeec6750fcf1e19a43a561fc5f
Author: Benchao Li <libenc...@gmail.com>
AuthorDate: Wed Feb 12 16:11:26 2020 +0800

    [FLINK-15938][table-planner-blink] Enable state cleanup in background for 
streaming join in blink (#11063)
---
 .../table/runtime/operators/join/stream/state/JoinRecordStateViews.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/operators/join/stream/state/JoinRecordStateViews.java
 
b/flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/operators/join/stream/state/JoinRecordStateViews.java
index c2201f2..68018af 100644
--- 
a/flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/operators/join/stream/state/JoinRecordStateViews.java
+++ 
b/flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/operators/join/stream/state/JoinRecordStateViews.java
@@ -79,6 +79,7 @@ public final class JoinRecordStateViews {
                                .newBuilder(Time.milliseconds(retentionTime))
                                
.setUpdateType(StateTtlConfig.UpdateType.OnCreateAndWrite)
                                
.setStateVisibility(StateTtlConfig.StateVisibility.ReturnExpiredIfNotCleanedUp)
+                               .cleanupInBackground()
                                .build();
                } else {
                        return StateTtlConfig.DISABLED;

Reply via email to