kele1997 opened a new issue, #611: URL: https://github.com/apache/doris-flink-connector/issues/611
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Version https://github.com/apache/doris-flink-connector/tree/release-25.1.0 ### What's Wrong? https://github.com/apache/doris-flink-connector/blob/65d8c001cf2c6e2c6d72ddc94ffbccee37d25b3b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/batch/DorisBatchWriter.java#L60 DorisBatchWriter has a field named `flushException`. When doris is down, `intervalFlush()` will set `flushException`, but after doris is up, no one will clear `flushException`, and every time connector write data, it will check the `flushException`, so connector will stuck, and never recover from last exception. https://github.com/apache/doris-flink-connector/blob/65d8c001cf2c6e2c6d72ddc94ffbccee37d25b3b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/batch/DorisBatchWriter.java#L116-L123 https://github.com/apache/doris-flink-connector/blob/65d8c001cf2c6e2c6d72ddc94ffbccee37d25b3b/flink-doris-connector/src/main/java/org/apache/doris/flink/sink/batch/DorisBatchWriter.java#L175-L180 ### What You Expected? when doris is up, the connector should recover from last exception ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
