Skip to content

Commit 55ceb5e

Browse files
fix:TAP-9230 Error reported during master-slave merge and _id removal update
1 parent 5e94541 commit 55ceb5e

File tree

1 file changed

+1
-0
lines changed
  • connectors/mongodb-connector/src/main/java/io/tapdata/mongodb/util

1 file changed

+1
-0
lines changed

connectors/mongodb-connector/src/main/java/io/tapdata/mongodb/util/MapDiffUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ private static void compareMapRecursively(Map<String, Object> beforeMap,
9797
// Check if the key exists in after
9898
if (!afterMap.containsKey(key)) {
9999
// Key does not exist in after, record difference (without path types)
100+
if(key.equals("_id"))continue;
100101
KeyDiffInfo diffInfo = new KeyDiffInfo(key, fullPath, null);
101102
result.add(diffInfo);
102103
} else {

0 commit comments

Comments
 (0)