From 0ded30a15720fcd29ca541452707aba766a0d8a4 Mon Sep 17 00:00:00 2001 From: Jan Schatteman Date: Wed, 11 Oct 2023 21:03:52 +0200 Subject: [PATCH] HHH-17093 - Remove support for CockroachDB versions older than 22.2 Signed-off-by: Jan Schatteman --- docker_db.sh | 87 ------------------- .../hibernate/dialect/CockroachDialect.java | 4 +- 2 files changed, 2 insertions(+), 89 deletions(-) diff --git a/docker_db.sh b/docker_db.sh index 99a3d98b5a..4fb05a2f81 100755 --- a/docker_db.sh +++ b/docker_db.sh @@ -931,92 +931,6 @@ EOF } -cockroachdb_22_1() { - $CONTAINER_CLI rm -f cockroach || true - LOG_CONFIG=" -sinks: - stderr: - channels: all - filter: ERROR - redact: false - exit-on-error: true -" - $CONTAINER_CLI run -d --name=cockroach -m 6g -p 26257:26257 -p 8080:8080 docker.io/cockroachdb/cockroach:v22.1.13 start-single-node \ - --insecure --store=type=mem,size=0.25 --advertise-addr=localhost --log="$LOG_CONFIG" - OUTPUT= - while [[ $OUTPUT != *"CockroachDB node starting"* ]]; do - echo "Waiting for CockroachDB to start..." - sleep 10 - # Note we need to redirect stderr to stdout to capture the logs - OUTPUT=$($CONTAINER_CLI logs cockroach 2>&1) - done - echo "Enabling experimental box2d operators and some optimized settings for running the tests" - #settings documented in https://www.cockroachlabs.com/docs/v22.1/local-testing.html#use-a-local-single-node-cluster-with-in-memory-storage - $CONTAINER_CLI exec cockroach bash -c "cat <&1) - done - echo "Enabling experimental box2d operators and some optimized settings for running the tests" - #settings documented in https://www.cockroachlabs.com/docs/v21.2/local-testing.html#use-a-local-single-node-cluster-with-in-memory-storage - $CONTAINER_CLI exec cockroach bash -c "cat <