Skip to content

CASSANDRA-19292 Enable Jenkins to test against Cassandra 4.1.x#1924

Merged
absurdfarce merged 1 commit intoapache:4.xfrom
absurdfarce:cassandra19506
Apr 24, 2024
Merged

CASSANDRA-19292 Enable Jenkins to test against Cassandra 4.1.x#1924
absurdfarce merged 1 commit intoapache:4.xfrom
absurdfarce:cassandra19506

Conversation

@absurdfarce
Copy link
Copy Markdown
Contributor

@absurdfarce absurdfarce commented Apr 3, 2024

Confirmed that with this PR we get a green run of a per-commit build using existing DataStax Jenkins infrastructure

+ " sstables int,\n"
+ " total bigint,\n"
+ " unit text,\n"
+ " PRIMARY KEY (keyspace_name, table_name, task_id)\n"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Table changed slightly with 4.1.x:

  • task_id became a timeuuid
  • sstables field was introduced

@@ -236,12 +236,33 @@ public void create() {
Arrays.stream(nodes).mapToObj(n -> "" + n).collect(Collectors.joining(":")),
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All changes in this file aim to address configuration changes in Cassandra 4.1 brought in by CASSANDRA-15234

if (originalKey.endsWith(IN_MS_STR)) return originalValueStr + "ms";
if (originalKey.endsWith(IN_KB_STR)) return originalValueStr + "KiB";
return originalValueStr;
}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not intended to be an exhaustive set of changes required to support CASSANDRA-15234. For now I'm just worried about the set of props necessary to support the current collection of ITs; we can always update this as necessary if new configs need to be added for future test customization.

@absurdfarce absurdfarce requested a review from adutra April 3, 2024 20:29
patch by Bret McGuire; reviewed by Bret McGuire, Alexandre Dutra for CASSANDRA-19292
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants