[Enhancement] update staros to 3.4-rc2 (#54075)

Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
This commit is contained in:
Kevin Cai 2024-12-19 16:39:41 +08:00 committed by GitHub
parent 43f125ec5a
commit 03803b2eb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 10 additions and 7 deletions

View File

@ -477,7 +477,9 @@ if ("${USE_STAROS}" STREQUAL "ON")
find_package(azure-storage-common-cpp CONFIG REQUIRED)
set(azure-storage-blobs-cpp_DIR "${STARLET_INSTALL_DIR}/third_party/share/azure-storage-blobs-cpp" CACHE PATH "azure storage blobs search path")
find_package(azure-storage-blobs-cpp CONFIG REQUIRED)
set(AZURE_SDK_LIB Azure::azure-identity Azure::azure-storage-blobs Azure::azure-core Azure::azure-storage-common)
set(azure-storage-files-datalake-cpp_DIR "${STARLET_INSTALL_DIR}/third_party/share/azure-storage-files-datalake-cpp" CACHE PATH "azure storage file datalake search path")
find_package(azure-storage-files-datalake-cpp CONFIG REQUIRED)
set(AZURE_SDK_LIB Azure::azure-identity Azure::azure-storage-blobs Azure::azure-storage-files-datalake Azure::azure-core Azure::azure-storage-common)
set(starlet_DIR "${STARLET_INSTALL_DIR}/starlet_install/lib/cmake" CACHE PATH "starlet search path")
find_package(starlet CONFIG REQUIRED)

View File

@ -22,7 +22,7 @@ ARG predownload_thirdparty=false
ARG thirdparty_url=https://cdn-thirdparty.starrocks.com/starrocks-thirdparty-main-20240411.tar
ARG commit_id
# check thirdparty/starlet-artifacts-version.sh, to get the right tag
ARG starlet_tag=v3.4-rc1
ARG starlet_tag=v3.4-rc2
# build for which linux distro: centos7|ubuntu
ARG distro=ubuntu
# Token to access artifacts in private github repositories.

View File

@ -41,7 +41,7 @@ under the License.
<iceberg.version>1.6.0</iceberg.version>
<paimon.version>0.8.2</paimon.version>
<delta-kernel.version>4.0.0rc1</delta-kernel.version>
<staros.version>3.4-rc1</staros.version>
<staros.version>3.4-rc2</staros.version>
<python>python</python>
</properties>

View File

@ -36,6 +36,7 @@ import com.staros.proto.PlacementRelationship;
import com.staros.proto.QuitMetaGroupInfo;
import com.staros.proto.ReplicaInfo;
import com.staros.proto.ReplicaRole;
import com.staros.proto.ReplicationType;
import com.staros.proto.ServiceInfo;
import com.staros.proto.ShardGroupInfo;
import com.staros.proto.ShardInfo;
@ -743,8 +744,8 @@ public class StarOSAgent {
String owner = "Starrocks";
WorkerGroupDetailInfo result = null;
try {
result = client.createWorkerGroup(serviceId, owner, spec, Collections.emptyMap(),
Collections.emptyMap(), replicaNumber);
result = client.createWorkerGroup(serviceId, owner, spec, Collections.emptyMap(), Collections.emptyMap(),
replicaNumber, ReplicationType.NO_REPLICATION);
} catch (StarClientException e) {
LOG.warn("Failed to create worker group. error: {}", e.getMessage());
throw new DdlException("Failed to create worker group. error: " + e.getMessage());

View File

@ -280,7 +280,7 @@ public class UtFrameUtils {
feConfMap.put("aws_s3_access_key", "dummy_access_key");
feConfMap.put("aws_s3_secret_key", "dummy_secret_key");
// turn on mock starletAgent inside StarOS
StarletAgentFactory.forTest = true;
StarletAgentFactory.AGENT_TYPE = StarletAgentFactory.AgentType.MOCK_STARLET_AGENT;
}
feConfMap.put("tablet_create_timeout_second", "10");
frontend.init(starRocksHome + "/" + runningDir, feConfMap);

View File

@ -9,4 +9,4 @@
# https://hub.docker.com/r/starrocks/starlet-artifacts-centos7/tags
#
# Update the following tag when STARLET releases a new version.
export STARLET_ARTIFACTS_TAG=v3.4-rc1
export STARLET_ARTIFACTS_TAG=v3.4-rc2