]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: bump Apache Arrow submodule from 17.0.0 to 19.0.1 69068/head
authorKefu Chai <k.chai@proxmox.com>
Sun, 24 May 2026 08:25:46 +0000 (16:25 +0800)
committerKefu Chai <k.chai@proxmox.com>
Sun, 24 May 2026 10:57:04 +0000 (18:57 +0800)
When WITH_SYSTEM_ARROW is false, Ceph builds Arrow from the bundled
src/apache submodule. Our CI uses ubuntu:jammy as the base image, which
does not package libarrow-dev, so the bundled path is always taken there.

Arrow 17.0.0 vendors a copy of Thrift whose download URLs are no longer
reachable, breaking CI builds that try to fetch them at configure time.

Bump arrow submodule to 19.0.1, the latest Arrow release that:
- builds successfully on ubuntu:jammy, and
- requires only CMake 3.22 (the version shipped by ubuntu:jammy)

See also

CMake version shipped by ubuntu:jammy
- https://packages.ubuntu.com/jammy/cmake

arrow releases' CMake support
- maint-19.0.1: https://github.com/apache/arrow/blob/272715f6df2a042d69881ffa03d5078c58e4b345/cpp/CMakeLists.txt#L18
- maint-20.0.0: https://github.com/apache/arrow/blob/3ad0370a04ccdae638755b94c3c31c8760a11193/cpp/CMakeLists.txt#L18

arrow enabled minmalloc by default
-
https://github.com/apache/arrow/commit/b907c5dadb516b525c8fafbf34b0116d44044733

Because arrow uses the bundled mialloc library be default, we need
to disable it in the same commit bumping up the submodule.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
cmake/modules/BuildArrow.cmake
src/arrow

index f3bf1872931cb1039caf938f7e0a5e8be940dd76..10689928af3d5e893b04d2f7ce8a1731f3c2b081 100644 (file)
@@ -12,8 +12,12 @@ function(build_arrow)
   list(APPEND arrow_CMAKE_ARGS -DARROW_BUILD_STATIC=ON)
 
   # arrow only supports its own bundled version of jemalloc, so can't
-  # share the version ceph is using
-  list(APPEND arrow_CMAKE_ARGS -DARROW_JEMALLOC=OFF)
+  # share the version ceph is using,
+  # arrow builds and uses mimalloc by default, let's reduce the build time
+  # and simplify the linkage.
+  list(APPEND arrow_CMAKE_ARGS
+    -DARROW_JEMALLOC=OFF
+    -DARROW_MIMALLOC=OFF)
 
   # transitive dependencies
   if (thrift_VERSION VERSION_GREATER_EQUAL 0.17)
index 6a2e19a852b367c72d7b12da4d104456491ed8b7..272715f6df2a042d69881ffa03d5078c58e4b345 160000 (submodule)
--- a/src/arrow
+++ b/src/arrow
@@ -1 +1 @@
-Subproject commit 6a2e19a852b367c72d7b12da4d104456491ed8b7
+Subproject commit 272715f6df2a042d69881ffa03d5078c58e4b345