Skip to content

Commit

Permalink
Upgrade to clickhouse v23.8.7.24
Browse files Browse the repository at this point in the history
  • Loading branch information
citrus-it committed Feb 23, 2024
1 parent 65ebf72 commit 9065a89
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
4 changes: 3 additions & 1 deletion oximeter/db/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -857,9 +857,11 @@ impl Client {
Err(Error::Database(err))
// Case 1: The database has not been created.
if err.contains("Database oximeter doesn't exist") ||
err.contains("Database oximeter does not exist") ||
// Case 2: The database has been created, but it's old (exists
// prior to the version table).
err.contains("Table oximeter.version doesn't exist") =>
err.contains("Table oximeter.version doesn't exist") ||
err.contains("Table oximeter.version does not exist") =>
{
warn!(self.log, "oximeter database does not exist, or is out-of-date");
0
Expand Down
4 changes: 2 additions & 2 deletions tools/ci_download_clickhouse
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ DOWNLOAD_DIR="$TARGET_DIR/downloads"
# Location where the final clickhouse directory should end up.
DEST_DIR="./$TARGET_DIR/clickhouse"

# If you change this, you must also update the md5sums below
# If you change the version in clickhouse_version, you must also update the
# md5sums in clickhouse_checksums
CIDL_VERSION="$(cat "$SOURCE_DIR/clickhouse_version")"
source "$SOURCE_DIR/clickhouse_checksums"

Expand Down Expand Up @@ -113,7 +114,6 @@ function configure_os
CIDL_PLATFORM="illumos"
CIDL_MD5="$CIDL_MD5_ILLUMOS"
CIDL_MD5FUNC="do_md5sum"
CIDL_DASHREV=-1
;;
*)
fail "unsupported OS: $1"
Expand Down
6 changes: 3 additions & 3 deletions tools/clickhouse_checksums
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
CIDL_MD5_DARWIN="20603974a929926591fca70ff1df0e45"
CIDL_MD5_LINUX="ea909519bd9d989fd5d090fd9bdd42f1"
CIDL_MD5_ILLUMOS="7702939ce5b4b51846a1ba39f1392306"
CIDL_MD5_DARWIN="3e20c3284b7e6b0cfcfedf622ecf547a"
CIDL_MD5_LINUX="f6c30a25a86deac3bad6c50dcf758fd5"
CIDL_MD5_ILLUMOS="409222de8ecb59e5dd97dcc942ccdffe"
2 changes: 1 addition & 1 deletion tools/clickhouse_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v22.8.9.24
v23.8.7.24
6 changes: 5 additions & 1 deletion tools/install_builder_prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,16 @@ function install_packages {
fi
elif [[ "${HOST_OS}" == "SunOS" ]]; then
CLANGVER=15
RTVER=13
PGVER=13
packages=(
"pkg:/package/pkg"
"build-essential"
"library/postgresql-$PGVER"
"pkg-config"
"library/libxmlsec1"
"system/library/gcc-runtime@$RTVER"
"system/library/g++-runtime@$RTVER"
# "bindgen leverages libclang to preprocess, parse, and type check C and C++ header files."
"pkg:/ooce/developer/clang-$CLANGVER"
"system/library/gcc-runtime"
Expand All @@ -159,7 +162,8 @@ function install_packages {
}

pkg mediator -a
pkg list -v "${packages[@]}"
pkg publisher
pkg list -afv "${packages[@]}"
elif [[ "${HOST_OS}" == "Darwin" ]]; then
packages=(
'coreutils'
Expand Down

0 comments on commit 9065a89

Please sign in to comment.