-
Notifications
You must be signed in to change notification settings - Fork 22
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
DSP-23956: DSE 5.1 upgradability #1314
base: main
Are you sure you want to change the base?
Conversation
@@ -289,6 +290,8 @@ protected void setup() | |||
|
|||
setupVirtualKeyspaces(); | |||
|
|||
LegacySystemKeyspaceToNodes.convertToNodesFilesIfNecessary(); |
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.
I would need to double-check whether it doesn't introduce any regression in astra 🤞
eae6358
to
6a4c377
Compare
src/java/org/apache/cassandra/nodes/virtual/LegacySystemKeyspaceToNodes.java
Show resolved
Hide resolved
src/java/org/apache/cassandra/nodes/virtual/LegacySystemKeyspaceToNodes.java
Show resolved
Hide resolved
src/java/org/apache/cassandra/nodes/virtual/LegacySystemKeyspaceToNodes.java
Show resolved
Hide resolved
src/java/org/apache/cassandra/nodes/virtual/LegacySystemKeyspaceToNodes.java
Outdated
Show resolved
Hide resolved
https://jenkins-stargazer.aws.dsinternal.org/job/ds-cassandra-pr-gate/job/PR-1314/2/testReport/junit/org.apache.cassandra.distributed.test/NodeToolEnableDisableBinaryTest/tests_stage_1___jvm_distributed___testMaybeChangeDocs/ deserves attention. It is probably a silly thing but equally silly to fix. I would like a quick high level explanation of the thought of train and the problems you found as I lack the context. Wdyt? |
Seems like a flaky test:
worth having a closer look though.
Indeed, I have approached it in a very test-driven way. The upgrade dtest has been guiding me in the process. Firstly the |
^I took a look and the test failure is quite easy to understand. A certain output is expected but some logging gets in the way. So nothing critical or related to this PR. |
ec2485f
to
a7ac754
Compare
Adding @jacek-lewandowski as a reviewer as IIRC he ported the existing implementation. |
Posting some of the observations/conclusions that might be useful when assessing the
|
3fffbcb
to
c53ef4b
Compare
DSE 5.1 and CC have different system.local/peers schema, mainly as DSE adds columns like dse_version, graph, server_id, workload, which CC doesn't use and can safely ignore. These columns have been marked as deprecated and will be skipped while reading the sstable.
CC uses flat files to store system.local/peers info and exposes them via virtual tables. DSE 5.1 uses regular C* sstables for storing these tables. This patch adds the migration procedure that detects the existence of the mentioned flat files and rewrites necessary data from sstables.
c53ef4b
to
928cda1
Compare
88cd80b
to
95235de
Compare
Quality Gate passedIssues Measures |
❌ Build ds-cassandra-pr-gate/PR-1314 rejected by Butler10 new test failure(s) in 15 builds Found 10 new test failures
Found 53 known test failures |
I have gone through the latest test failures reported in https://jenkins-stargazer.aws.dsinternal.org/job/ds-cassandra-pr-gate/view/change-requests/job/PR-1314/23/ and it seems that all but one of them were reported as failed by the fast CI build: https://jenkins-stargazer.aws.dsinternal.org/job/ds-cassandra-build-fast-ci/:
The only test failure that I haven't found in fast CI is |
The goal of this patch is to resolve the bugs encountered while testing the DSE 5.1 to HCD upgrade. Details are in commit messages.