BiteTheDDDDt opened a new pull request, #61739: URL: https://github.com/apache/doris/pull/61739
This pull request updates the logic for deferred cancellation of result buffers in both the result file sink and result sink operators. The main improvement is ensuring that the correct key is used to identify buffers for cancellation, depending on whether parallel processing modes are enabled. Key changes: **Buffer cancellation logic improvements:** * In `result_file_sink_operator.cpp`, the cancellation now uses `query_id` as the key when parallel outfile mode is enabled, otherwise it uses `fragment_instance_id`. This ensures the deferred cancel operation targets the correct buffer entry. * In `result_sink_operator.cpp`, the cancellation now uses `query_id` when parallel result sink mode is enabled, otherwise it uses `fragment_instance_id`, aligning buffer cleanup with how buffers are registered. -- 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]
