zjw1111 opened a new pull request, #150: URL: https://github.com/apache/paimon-cpp/pull/150
### Purpose Linked issue: close #xxx Ensure outstanding directory-listing futures are collected when `GetUsedFiles()` returns an error. A scope guard waits for the asynchronous tasks on the early-return path and is released once the normal flow takes ownership of collecting the results. This cherry-picks the fix from alibaba/paimon-cpp commit `433487eeff9850ebe2d3e1720fa82d847d097a62`. ### Tests ### API and Format No API, storage format, or protocol changes. ### Documentation No user-facing documentation changes. ### Generative AI tooling Migrated-by: OpenAI Codex -- 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]
