You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by he...@apache.org on 2022/03/18 02:40:29 UTC
[incubator-inlong] branch master updated: [INLONG-3199][Agent] Two binlog tasks running at the same time may loss data (#3200)
This is an automated email from the ASF dual-hosted git repository.
healchow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
The following commit(s) were added to refs/heads/master by this push:
new 357d084 [INLONG-3199][Agent] Two binlog tasks running at the same time may loss data (#3200)
357d084 is described below
commit 357d084aee1a807a46066e98055cc6741371bb30
Author: ziruipeng <zp...@connect.ust.hk>
AuthorDate: Fri Mar 18 10:40:23 2022 +0800
[INLONG-3199][Agent] Two binlog tasks running at the same time may loss data (#3200)
---
.../org/apache/inlong/agent/plugin/sources/reader/BinlogReader.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/reader/BinlogReader.java b/inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/reader/BinlogReader.java
index c476e87..d068576 100644
--- a/inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/reader/BinlogReader.java
+++ b/inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/reader/BinlogReader.java
@@ -77,7 +77,7 @@ public class BinlogReader implements Reader {
* pair.left: table name
* pair.right: actual data
*/
- private static LinkedBlockingQueue<Pair<String, String>> binlogMessagesQueue =
+ private LinkedBlockingQueue<Pair<String, String>> binlogMessagesQueue =
new LinkedBlockingQueue<>();
private boolean finished = false;