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

move schema check to allow expansions with external DCs #1273

Closed
wants to merge 7 commits into from

Conversation

adejanovski
Copy link
Contributor

@adejanovski adejanovski commented Apr 5, 2024

What this PR does:
Moves the schema check and replication updates before the wait for the cassdc readiness.
This prevents from being stuck in a loop where the cassdc never gets to Ready state because it cannot create the superuser credentials, but the schema updates to alter the RF of system_auth waits for the cassdc to reach Ready state to be applied.

Which issue(s) this PR fixes:
Fixes #1272

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CHANGELOG.md updated (not required for documentation PRs)
  • CLA Signed: DataStax CLA

@adejanovski adejanovski marked this pull request as ready for review April 8, 2024 16:58
@adejanovski adejanovski requested a review from a team as a code owner April 8, 2024 16:58
.PHONY: docker-buildx
docker-buildx: test ## Build and push docker image for the manager for cross-platform support
docker-buildx: ## Build and push docker image for the manager for cross-platform support
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: I needed to build amd64 images on my M2 pro and this was not working so I fixed it in the process.

@burmanm
Copy link
Contributor

burmanm commented Apr 10, 2024

issue: There's no test to ensure this actually changes anything - or that some change in the future doesn't just simply revert the order and break it again. As I could go on to the next one, remove part of the code "this does nothing" and then all the tests would still pass.

Copy link

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

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.

Cluster with external DC has auth issues: "Cannot achieve consistency level LOCAL_ONE"
2 participants