Skip to content

Commit 2ccb3e2

Browse files
[Enhancement] update staros to v4.2-rc2
Bump staros to v4.2-rc2 and the bundled C++ protobuf to 3.16.1 to match. Signed-off-by: starrocks-xupeng <xupeng@starrocks.com>
1 parent 4e25291 commit 2ccb3e2

11 files changed

Lines changed: 26 additions & 26 deletions

File tree

docker/dockerfiles/dev-env/dev-env.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ARG predownload_thirdparty=false
2222
ARG thirdparty_url=https://cdn-thirdparty.starrocks.com/starrocks-thirdparty-main-20260526.tar
2323
ARG commit_id
2424
# check thirdparty/starlet-artifacts-version.sh, to get the right tag
25-
ARG starlet_tag=v4.2-rc1
25+
ARG starlet_tag=v4.2-rc2
2626
# build for which linux distro: centos7|ubuntu
2727
ARG distro=ubuntu
2828
# Token to access artifacts in private github repositories.

docs/en/developers/mac-compile-run-test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,13 +387,13 @@ The macOS compilation implementation follows these principles:
387387

388388
**Q: Getting "protobuf version mismatch" error during compilation**
389389

390-
A: Make sure the BE CMake build is using `thirdparty/installed/bin/protoc` (version 3.14.0) instead of system or Homebrew's protobuf:
390+
A: Make sure the BE CMake build is using `thirdparty/installed/bin/protoc` (version 3.16.1) instead of system or Homebrew's protobuf:
391391

392392
```bash
393393
# Check protobuf version
394394
/Users/kks/git/starrocks/thirdparty/installed/bin/protoc --version
395395

396-
# Should output: libprotoc 3.14.0
396+
# Should output: libprotoc 3.16.1
397397
```
398398

399399
**Q: Out of memory during compilation**

docs/zh/developers/mac-compile-run-test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,13 +387,13 @@ macOS 版本编译的实现遵循以下原则:
387387

388388
**Q: 编译时报错 "protobuf version mismatch"**
389389

390-
A: 确保 BE 的 CMake 构建使用 `thirdparty/installed/bin/protoc` (版本 3.14.0),而不是系统或 Homebrew 的 protobuf:
390+
A: 确保 BE 的 CMake 构建使用 `thirdparty/installed/bin/protoc` (版本 3.16.1),而不是系统或 Homebrew 的 protobuf:
391391

392392
```bash
393393
# 检查 protobuf 版本
394394
/Users/kks/git/starrocks/thirdparty/installed/bin/protoc --version
395395

396-
# 应该输出:libprotoc 3.14.0
396+
# 应该输出:libprotoc 3.16.1
397397
```
398398

399399
**Q: 编译时内存不足**

fe/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ under the License.
8181
<paimon.version>1.3.1</paimon.version>
8282
<delta-kernel.version>4.0.0rc1</delta-kernel.version>
8383
<iceberg.version>1.10.0</iceberg.version>
84-
<staros.version>4.2-rc1</staros.version>
84+
<staros.version>4.2-rc2</staros.version>
8585
<!-- hadoop-azure requires no more than jetty10+ -->
8686
<!-- https://stackoverflow.com/questions/66713254/spark-wasb-and-jetty-11 -->
8787
<jetty.version>9.4.58.v20250814</jetty.version>

nix/thirdparty-archives.nix

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,10 @@ let
269269
md5 = "282e54a68911f516b15d07136c78592b";
270270
sha256 = "19hprnr6c87490m8531vl9ygnhzbkw7whz1yy1lk09njzjq8xccj";
271271
};
272-
"protobuf-3.14.0.tar.gz" = {
273-
url = "https://github.com/google/protobuf/archive/v3.14.0.tar.gz";
274-
md5 = "0c9d2a96f3656ba7ef3b23b533fb6170";
275-
sha256 = "04v1q7g6kx9nwm1fs8dix27iszh3ycnsidf8wry00mnns02zdxfh";
272+
"protobuf-3.16.1.tar.gz" = {
273+
url = "https://github.com/google/protobuf/archive/v3.16.1.tar.gz";
274+
md5 = "6294f01dedea72a76b9e113369f55097";
275+
sha256 = "0zsxh0lxcn874rmhjzcqqx1bhqpnxalvh2yscsgr9x1d1fq5i4gv";
276276
};
277277
"pulsar-client-3.3.0.tar.gz" = {
278278
url = "https://github.com/apache/pulsar-client-cpp/archive/refs/tags/v3.3.0.tar.gz";
@@ -464,7 +464,7 @@ let
464464
"libevent-24236aed01798303745470e6c498bf606e88724a.zip"
465465
"openssl-OpenSSL_1_1_1m.tar.gz"
466466
"thrift-0.23.0.tar.gz"
467-
"protobuf-3.14.0.tar.gz"
467+
"protobuf-3.16.1.tar.gz"
468468
"gflags-2.2.2.tar.gz"
469469
"glog-0.7.1.tar.gz"
470470
"googletest-release-1.10.0.tar.gz"
@@ -535,7 +535,7 @@ let
535535
"libevent-24236aed01798303745470e6c498bf606e88724a.zip"
536536
"openssl-OpenSSL_1_1_1m.tar.gz"
537537
"thrift-0.23.0.tar.gz"
538-
"protobuf-3.14.0.tar.gz"
538+
"protobuf-3.16.1.tar.gz"
539539
"gflags-2.2.2.tar.gz"
540540
"glog-0.7.1.tar.gz"
541541
"googletest-release-1.10.0.tar.gz"
@@ -604,7 +604,7 @@ let
604604
"libevent-24236aed01798303745470e6c498bf606e88724a.zip"
605605
"openssl-OpenSSL_1_1_1m.tar.gz"
606606
"thrift-0.23.0.tar.gz"
607-
"protobuf-3.14.0.tar.gz"
607+
"protobuf-3.16.1.tar.gz"
608608
"gflags-2.2.2.tar.gz"
609609
"glog-0.7.1.tar.gz"
610610
"googletest-release-1.10.0.tar.gz"

thirdparty/starlet-artifacts-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
# https://hub.docker.com/r/starrocks/starlet-artifacts-centos7/tags
1010
#
1111
# Update the following tag when STARLET releases a new version.
12-
export STARLET_ARTIFACTS_TAG=v4.2-rc1
12+
export STARLET_ARTIFACTS_TAG=v4.2-rc2

thirdparty/vars-aarch64.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ TENANN_MD5SUM="b48f21ada7aeb153245a8c8a25a534d9"
5151
#TENANN_MD5SUM="11b35d1d7aea0c48ba6d7c60633a7348"
5252

5353
# starcache
54-
STARCACHE_DOWNLOAD="https://cdn-thirdparty.starrocks.com/starcache/v4.2-rc1/starcache-centos7_arm64.tar.gz"
54+
STARCACHE_DOWNLOAD="https://cdn-thirdparty.starrocks.com/starcache/v4.2-rc2/starcache-centos7_arm64.tar.gz"
5555
STARCACHE_NAME="starcache.tar.gz"
5656
STARCACHE_SOURCE="starcache"
57-
STARCACHE_MD5SUM="901cbd54823c73588a6f43e4d3b32e44"
57+
STARCACHE_MD5SUM="3cfef8be7a06a71108174599eac6a9c9"
5858

5959
# pprof
6060
PPROF_DOWNLOAD="https://github.com/StarRocks/pprof/releases/download/release%2F20260610/pprof-linux-arm64"

thirdparty/vars-ubuntu22-aarch64.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#####################################################
2323

2424
# starcache
25-
STARCACHE_DOWNLOAD="https://cdn-thirdparty.starrocks.com/starcache/v4.2-rc1/starcache-ubuntu22_arm64.tar.gz"
25+
STARCACHE_DOWNLOAD="https://cdn-thirdparty.starrocks.com/starcache/v4.2-rc2/starcache-ubuntu22_arm64.tar.gz"
2626
STARCACHE_NAME="starcache.tar.gz"
2727
STARCACHE_SOURCE="starcache"
28-
STARCACHE_MD5SUM="9ad0c4f45e931459d9699a6f25e6019a"
28+
STARCACHE_MD5SUM="78f2030bfd5772a700d731ff864279a2"

thirdparty/vars-ubuntu22-x86_64.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ JINDOSDK_SOURCE="jindosdk-4.6.8-linux-ubuntu22-x86_64"
2828
JINDOSDK_MD5SUM="52236053391091591c2d09684791e810"
2929

3030
# starcache
31-
STARCACHE_DOWNLOAD="https://cdn-thirdparty.starrocks.com/starcache/v4.2-rc1/starcache-ubuntu22_amd64.tar.gz"
31+
STARCACHE_DOWNLOAD="https://cdn-thirdparty.starrocks.com/starcache/v4.2-rc2/starcache-ubuntu22_amd64.tar.gz"
3232
STARCACHE_NAME="starcache.tar.gz"
3333
STARCACHE_SOURCE="starcache"
34-
STARCACHE_MD5SUM="e0f776ad3b33545b6d5754e3e2d915cc"
34+
STARCACHE_MD5SUM="b3dcf073ac1869fb0851cb5c83e2cbcc"

thirdparty/vars-x86_64.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ TENANN_SOURCE="tenann-v0.5.1-rc1"
4646
TENANN_MD5SUM="a1b3c1507797ad9ae02f9690a1387cfc"
4747

4848
# starcache
49-
STARCACHE_DOWNLOAD="https://cdn-thirdparty.starrocks.com/starcache/v4.2-rc1/starcache-centos7_amd64.tar.gz"
49+
STARCACHE_DOWNLOAD="https://cdn-thirdparty.starrocks.com/starcache/v4.2-rc2/starcache-centos7_amd64.tar.gz"
5050
STARCACHE_NAME="starcache.tar.gz"
5151
STARCACHE_SOURCE="starcache"
52-
STARCACHE_MD5SUM="23b115d131c8c7738c9a57c41d7b791f"
52+
STARCACHE_MD5SUM="4f75bfdaf4956ea7433822bf51eb7a08"
5353

5454
# pprof
5555
PPROF_DOWNLOAD="https://github.com/StarRocks/pprof/releases/download/release%2F20260610/pprof-linux-amd64"

0 commit comments

Comments
 (0)