Skip to content

Commit

Permalink
[cdc-connector][mongodb][hotfix] Stop executing log reading in MongoD…
Browse files Browse the repository at this point in the history
…BStreamFetchTask.close (#3029)
  • Loading branch information
loserwang1024 committed Jan 23, 2024
1 parent 9ce3656 commit eca26c2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ public StreamSplit getSplit() {
}

@Override
public void close() {}
public void close() {
taskRunning = false;
}

private MongoChangeStreamCursor<BsonDocument> openChangeStreamCursor(
ChangeStreamDescriptor changeStreamDescriptor) {
Expand Down

0 comments on commit eca26c2

Please sign in to comment.