Skip to content
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

Apply Aiven-specific changes on top of upstream 4.0.13 #23

Merged
merged 18 commits into from
Jul 2, 2024

Conversation

tilman-aiven
Copy link

@tilman-aiven tilman-aiven commented Jun 17, 2024

Changes

Resolved conflicts

  • Upstream removed stop-server in redhat/cassandra.spec (commit)
  • Upstream now includes the change (Upgrade snappy to 1.1.10.4) see commit, aiven commit is dropped because change is empty

Test history

Initial run

https://github.com/aiven/cassandra/runs/26315726900

  • org.apache.cassandra.triggers.TriggersTest (executeTriggerOnCqlInsertWithConditions, executeTriggerOnCqlBatchWithConditions, onCqlUpdateWithConditionsRejectGeneratedUpdatesForDifferentPartition, onCqlUpdateWithConditionsRejectGeneratedUpdatesForDifferentTable
  • org.apache.cassandra.cql3.PreparedStatementsTest (testPrepareWithBatchLWT, testPrepareWithLWT, testMetadataFlagsWithLWTs)

Second run

https://github.com/aiven/cassandra/runs/26320855845

  • org.apache.cassandra.cql3.PreparedStatementsTest (testPrepareWithBatchLWT, testPrepareWithLWT, testMetadataFlagsWithLWTs)
  • org.apache.cassandra.triggers.TriggersTest (executeTriggerOnCqlInsertWithConditions, executeTriggerOnCqlBatchWithConditions, onCqlUpdateWithConditionsRejectGeneratedUpdatesForDifferentPartition, onCqlUpdateWithConditionsRejectGeneratedUpdatesForDifferentTable)

Alexandru Pisarenco and others added 17 commits June 17, 2024 13:41
rat checks if all files have license information. During the build however, multiple new files appear and rat check fails for them.
We do not use init.d, systemd ignores limits in limits.d, the file in
/etc/default we do not need as well.
This is necessary to install cassandra 3 and 4 side-by-side in the
test environment.
We need to remove some additional files in lib/sigar-bin
or we'll get an error when running strip on them.

Fedora 35 related change.

[SRENA-268]
Instruct the system to allocate the gid/uid for cassandra user a little
deeper inside the available id range. This helps to avoid clashes with
other uids in some cases.
We never use the default configuration and directories, there's no need
to create them; the user is created externally anyways.
The data will be provided by Astacus, streaming from other nodes is not
necessary.
It's more convenient to set it there in Astacus. Option semantics is
preserved, the value specified in Java properties has priority.
We decorate standard PasswordAuthenticator with a few platform specific
features, that don't change the externally observable behavior - so it's
absolutely compatible with PasswordAuthenticator.

A few tools and client libraries do not support custom authenticators.
For example: ZDM Proxy. They fail whenever they see anything but
PasswordAuthenticator nevertheless they are in fact completely
compatible.

So we want to stop advertising our custom authenticator and pretend that
it's a standard PasswordAuthenticator.
… rpc_address column

patch by Chang Liu; reviewed by Alexei Zotov and Stefan Miklosovic for CASSANDRA-11181
Copy link

github-actions bot commented Jun 17, 2024

Unit Test Results

6 012 tests   5 942 ✔️  1h 13m 8s ⏱️
   709 suites       52 💤
   709 files         11   7 🔥

For more details on these failures and errors, see this check.

Results for commit 0f55684.

♻️ This comment has been updated with latest results.

@tilman-aiven tilman-aiven marked this pull request as draft June 17, 2024 13:32
@aris-aiven aris-aiven requested review from aris-aiven and a team June 17, 2024 14:57
@tilman-aiven tilman-aiven marked this pull request as ready for review June 27, 2024 12:56
To ensure that the related tests can relably check their assertions,
the replication factor uptuning is disabled in the test class setup.
@aris-aiven
Copy link

Just leaving a note here that test results upload is failing and the latest version for the GH Action is https://github.com/EnricoMi/publish-unit-test-result-action (v2)

Copy link

@aris-aiven aris-aiven left a comment

Choose a reason for hiding this comment

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

LGTM, thank you for fixing the prepare statement tests

@aris-aiven aris-aiven merged commit 99f5ab2 into aiven-4.0.13 Jul 2, 2024
0 of 2 checks passed
@aris-aiven aris-aiven deleted the aiven-4.0.13-test branch July 2, 2024 01:10
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.

6 participants