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

Add IPV6 form of the address in cassandra status check #23537

Merged
merged 1 commit into from
May 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions scripts/ci/docker-compose/integration-cassandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@
version: "3.7"
services:
cassandra:
# TODO: fix cassandra to 3.0.25 as latest 3.0 (3.0.26) does not start cleanly
image: cassandra:3.0.25
image: cassandra:3.0
environment:
HEAP_NEWSIZE: 128M
MAX_HEAP_SIZE: 256M
volumes:
- /dev/urandom:/dev/random # Required to get non-blocking entropy source
- cassandra-db-volume:/var/lib/cassandra
healthcheck:
test: "[ $$(nodetool statusgossip) = running ]"
# We use IPv6 variant of the check to workaround the problem with 3.0.26 version
# of Cassandra https://issues.apache.org/jira/browse/CASSANDRA-17581
test: "[ $$(nodetool --host '::FFFF:127.0.0.1' statusgossip) = running ]"
interval: 5s
timeout: 30s
retries: 50
Expand Down