JNSimba commented on PR #381: URL: https://github.com/apache/doris-flink-connector/pull/381#issuecomment-2100084287
> @JNSimba I think that waitAsyncLoadFinish means that the queue is empty and the last AsyncLoad is finished. When the queue is not empty, the poll execution means that the head is deleted from the queue, but it does not mean that the buffer load finished. Yes, you are right. But even if the buffer is polled and the load fails at the same time, the queue will be cleared and the flink task will be retried, so it does not seem to affect the correctness? And if you switch to peek, it is non-blocking when there is no data, which may consume more CPU. -- 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]
