Skip to content

Commit 418f6f4

Browse files
sd4324530Mrart
authored andcommitted
[FLINK-39144][paimon] Fix ioManager close.(apache#4283)
Signed-off-by: peiyu <125331682@qq.com>
1 parent 9ed0a8a commit 418f6f4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

flink-cdc-connect/flink-cdc-pipeline-connectors/flink-cdc-pipeline-connector-paimon/src/main/java/org/apache/flink/cdc/connectors/paimon/sink/v2/PaimonWriter.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ public void close() throws Exception {
224224
if (compactExecutor != null) {
225225
compactExecutor.shutdownNow();
226226
}
227+
if (ioManager != null) {
228+
ioManager.close();
229+
}
227230
}
228231

229232
@Override

0 commit comments

Comments
 (0)