This 'committedEvents' queue should have an initial capacity. #4392
Unanswered
lantuxin
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
flink-cdc/flink-cdc-connect/flink-cdc-source-connectors/flink-connector-tidb-cdc/src/main/java/org/apache/flink/cdc/connectors/tidb/TiKVRichParallelSourceFunction.java
Line 141 in 24ab548
If a table in TiDB changes a large number of rows, and committedEvents doesn't have an initial capacity, more and more data will be added to this queue, eventually consuming all of the TM's memory and causing an OOM.
Beta Was this translation helpful? Give feedback.
All reactions