Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RONDB-693 RonDB minor release 22.10.5 #91

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
RONDB-693 RonDB minor release 22.10.5
  • Loading branch information
smkniazi committed Aug 15, 2024
commit 8914e5706a778db5721ecee76e89bb905a97f298
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ jobs:
glibc_version_x86: 2.17
glibc_version_arm64: 2.35
skip_test: true
- rondb_version: 22.10.4
- rondb_version: 22.10.5
is_latest_rondb_release: true
glibc_version_x86: 2.28
glibc_version_arm64: 2.28
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -80,7 +80,7 @@ Commands to run:
```bash
# Run docker-compose cluster with image from DockerHub
./build_run_docker.sh \
--rondb-version 22.10.4 \
--rondb-version 22.10.5 \
--num-mgm-nodes 1 \
--node-groups 1 \
--replication-factor 2 \
@@ -154,7 +154,7 @@ The Docker images come with a set of benchmarks pre-installed. To run any of the

# Running with a custom size; The benchmarks are run on the API containers and make queries towards the mysqld containers; this means that both types are needed.
./build_run_docker.sh \
-v 22.10.4 -m 1 -g 1 -r 2 -my 2 -bn 1 \
-v 22.10.5 -m 1 -g 1 -r 2 -my 2 -bn 1 \
--run-benchmark <sysbench_single, sysbench_multi, dbt2_single>
```

6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

VERSION="$(< "$SCRIPT_DIR/VERSION" sed -e 's/^[[:space:]]*//' -e '/-SNAPSHOT$/s/.*/dev/' ./VERSION)"
RONDB_IMAGE_NAME=rondb:22.10.4
RONDB_VERSION=22.10.4
RONDB_TARBALL_URI=https://repo.hops.works/master/rondb-22.10.4-linux-glibc2.28-arm64_v8.tar.gz
RONDB_IMAGE_NAME=rondb:22.10.5
RONDB_VERSION=22.10.5
RONDB_TARBALL_URI=https://repo.hops.works/master/rondb-22.10.5-linux-glibc2.28-arm64_v8.tar.gz

docker buildx build . \
--tag $RONDB_IMAGE_NAME \
2 changes: 1 addition & 1 deletion build_run_docker.sh
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ DETACHED=
RONDB_SIZE=small
SQL_INIT_SCRIPT_CLI_DIR=$SCRIPT_DIR/resources/sql_init_scripts
RONDB_IMAGE_NAME=rondb
RONDB_VERSION=22.10.4
RONDB_VERSION=22.10.5

function print_usage() {
cat <<EOF
4 changes: 2 additions & 2 deletions managed_rondb/desired_state.jsonc
Original file line number Diff line number Diff line change
@@ -9,12 +9,12 @@
// A logical clock to perform rolling restarts of RonDB; it can never be higher than the Id
"RonDBRunningSince": 1,
// Make sure to adjust RonDBDownloadLink when changing this
"RonDBVersion": "22.10.4",
"RonDBVersion": "22.10.5",
/*
The url nginx/hopsworks_proxy is a reverse proxy to repo.hops.works,
which is where Hopsworks hosts RonDB builds:
*/
"RonDBDownloadLink": "http://nginx/hopsworks_proxy/master/rondb-22.10.4-linux-glibc2.28-arm64_v8.tar.gz",
"RonDBDownloadLink": "http://nginx/hopsworks_proxy/master/rondb-22.10.5-linux-glibc2.28-arm64_v8.tar.gz",
// A logical clock to perform rolling restarts of the ndb-agent; it can never be higher than the Id
"NdbAgentRunningSince": 1,
/*
2 changes: 1 addition & 1 deletion resources/healthcheck.sh
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@

# - "Node 1: not connected" # exit code 0
# - "3: Node not found" # exit code 1
# - "Node 2: started (RonDB-22.10.4)" # exit code 0
# - "Node 2: started (RonDB-22.10.5)" # exit code 0
# - "94: Node not found" # exit code 255

MGM_CONNECTION_STRING=$1
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
################

RONDB_SIZE=small
RONDB_VERSION=22.10.4
RONDB_VERSION=22.10.5
RONDB_IMAGE_NAME=rondb
REPLICATION_FACTOR=2
RONDB_TARBALL_PATH=
14 changes: 7 additions & 7 deletions sample_files/docker_compose.yml
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ version: '3.8'
services:

mgmd_1:
image: rondb:22.10.4-dev
image: rondb:22.10.5-dev
container_name: mgmd_1
command: ["ndb_mgmd", "--ndb-nodeid=65", "--initial"]
deploy:
@@ -28,7 +28,7 @@ services:
- HOST_GROUP_ID=20

ndbd_1:
image: rondb:22.10.4-dev
image: rondb:22.10.5-dev
container_name: ndbd_1
command: ["ndbmtd", "--ndb-nodeid=1", "--initial", "--ndb-connectstring=mgmd_1:1186"]
healthcheck:
@@ -55,7 +55,7 @@ services:
- HOST_GROUP_ID=20

ndbd_2:
image: rondb:22.10.4-dev
image: rondb:22.10.5-dev
container_name: ndbd_2
command: ["ndbmtd", "--ndb-nodeid=2", "--initial", "--ndb-connectstring=mgmd_1:1186"]
healthcheck:
@@ -82,7 +82,7 @@ services:
- HOST_GROUP_ID=20

mysqld_1:
image: rondb:22.10.4-dev
image: rondb:22.10.5-dev
container_name: mysqld_1
command: ["mysqld"]
cap_add:
@@ -124,7 +124,7 @@ services:
- MYSQL_INITIALIZE_DB=1

mysqld_2:
image: rondb:22.10.4-dev
image: rondb:22.10.5-dev
container_name: mysqld_2
command: ["mysqld"]
cap_add:
@@ -162,7 +162,7 @@ services:
- MYSQL_BENCH_PASSWORD=Abc123?e

rest_1:
image: rondb:22.10.4-dev
image: rondb:22.10.5-dev
container_name: rest_1
command: ["rdrs", "-config=/srv/hops/mysql-cluster/rest_api.json"]
deploy:
@@ -190,7 +190,7 @@ services:
condition: service_healthy

bench_1:
image: rondb:22.10.4-dev
image: rondb:22.10.5-dev
container_name: bench_1
command: >
bash -c "sleep 5 && bench_run.sh --verbose --default-directory /home/mysql/benchmarks/sysbench_multi "
4 changes: 2 additions & 2 deletions sample_files/parsed_arguments.txt
Original file line number Diff line number Diff line change
@@ -4,8 +4,8 @@ RonDB-Docker version: dev
Parsed arguments:
#################

RonDB version = 22.10.4
RonDB tarball path = ./rondb-22.10.4-linux-glibc2.28-arm64_v8.tar.gz
RonDB version = 22.10.5
RonDB tarball path = ./rondb-22.10.5-linux-glibc2.28-arm64_v8.tar.gz
RonDB tarball url =
Number of management nodes = 1
Node groups = 1