You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "leonardBang (via GitHub)" <gi...@apache.org> on 2023/07/12 07:25:43 UTC
[GitHub] [flink-connector-mongodb] leonardBang commented on a diff in pull request #13: [FLINK-32348][connectors/mongodb] Fix MongoDB tests are flaky and timeout
leonardBang commented on code in PR #13:
URL: https://github.com/apache/flink-connector-mongodb/pull/13#discussion_r1260715225
##########
flink-connector-mongodb/src/main/java/org/apache/flink/connector/mongodb/source/reader/split/MongoScanSourceSplitReader.java:
##########
@@ -119,7 +119,6 @@ public RecordsWithSplitIds<BsonDocument> fetch() throws IOException {
throw new IOException("Scan records form MongoDB failed", e);
} finally {
if (finished) {
- currentSplit = null;
Review Comment:
What's the value that currentSplit should be assigned if a split has been finished ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org