This is an automated email from the ASF dual-hosted git repository.
yuanzhou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gluten.git
The following commit(s) were added to refs/heads/main by this push:
new 98f5f063f5 [GLUTEN-11796][VL] Teardown the AWS SDK (#11857)
98f5f063f5 is described below
commit 98f5f063f54d50a3b74367196d0732c8cc53d540
Author: Rui Mo <[email protected]>
AuthorDate: Tue Mar 31 22:10:07 2026 +0100
[GLUTEN-11796][VL] Teardown the AWS SDK (#11857)
Velox users need to manually invoke the finalizeS3FileSystem() to teardown
the AWS SDK C++ before exiting an application.
Fixes #11796.
---
cpp/velox/compute/VeloxBackend.cc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/cpp/velox/compute/VeloxBackend.cc
b/cpp/velox/compute/VeloxBackend.cc
index 4738d2e3a6..d91c1526b2 100644
--- a/cpp/velox/compute/VeloxBackend.cc
+++ b/cpp/velox/compute/VeloxBackend.cc
@@ -366,6 +366,9 @@ void VeloxBackend::tearDown() {
filesystem->close();
}
#endif
+#ifdef ENABLE_S3
+ velox::filesystems::finalizeS3FileSystem();
+#endif
// Destruct IOThreadPoolExecutor will join all threads.
// On threads exit, thread local variables can be constructed with
referencing global variables.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]