-
Notifications
You must be signed in to change notification settings - Fork 26
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
Upgrade ClickHouse server image to v23.4 #306
Conversation
Codecov Report
@@ Coverage Diff @@
## main #306 +/- ##
==========================================
+ Coverage 66.56% 66.69% +0.12%
==========================================
Files 38 38
Lines 4783 4783
==========================================
+ Hits 3184 3190 +6
+ Misses 1452 1444 -8
- Partials 147 149 +2
*This pull request uses carry forward flags. Click here to find out more.
|
74958b4
to
40b2873
Compare
9d5a1e3
to
9a53a17
Compare
bc275de
to
b85b98d
Compare
13c3e37
to
abb8346
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
abb8346
to
2b6e4b4
Compare
/theia-test-e2e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Let's don't merge this PR for now as we are still trying to figure out the e2e flakiness in |
- Upgrade ClickHouse server to v23.4 - Upgrade ClickHouse operator and metrics exporter to v0.21.0 Notable changes: - The inner table name of Materialized View has been changed to `.inner_id.<uuid>`. We are no longer able to find the table by self-defined Materialized View name. Thus, in `create_table.sh`, we save the data of Materialized Views to pre-defined underlying tables. - ClickHouse upgrade test used to always apply the latest clickhouse-operator-install-bundle.yaml. In this upgrade, latest operator yaml does not work with version N-1 ClickHouse data schema. Therefore, we change the test to use the correct version of operator yaml corresponding to the tested ClickHouse data schema. - We removed the theia- prefix in clickhouse operator images in - We increase theia-manager ping timeout when connecting to ClickHouse Service to fix test flakiness. Signed-off-by: heanlan <hanlan@vmware.com>
2b6e4b4
to
99e8b52
Compare
Signed-off-by: heanlan <hanlan@vmware.com>
Please help review if the latest commit looks good to you Background: We found flakiness in I added a debug log in ClickHouse client code and extend the ping time out from 10s to 30s for better observation. Below is an example log file when the client trying to ping the DB:
It turns out the testing iPerf traffic starts before the connection is ready. So we add a time wait as a workaround. Please check out the comment for details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, maybe we need to open an issue to track that we need another antctl command.
More info on FA Pod restart situation - we observe the Pod firstly in "Running" state, after some time it crashed and restarted. By checking the Pod log below, we found the error comes from timeout while pinging ClickHouse DB, and finally return to FA cmd/main.go
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Notable changes:
been changed to
.inner_id.<uuid>
. We are no longer able tofind the table by self-defined Materialized View name. Thus,
in
create_table.sh
, we save the data of Materialized Viewsto pre-defined underlying tables.
clickhouse-operator-install-bundle.yaml. In this upgrade,
latest operator yaml does not work with version N-1 ClickHouse
data schema. Therefore, we change the test to use the correct
version of operator yaml corresponding to the tested ClickHouse
data schema.
ClickHouse Service to fix test flakiness.
avoid missing the first a few records.
Signed-off-by: heanlan hanlan@vmware.com