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

Reinit Cassandra client and session when session closed #61

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

yma96
Copy link
Member

@yma96 yma96 commented Oct 21, 2024

When scaling down 0 pod for Cassandra, the host 'cassandra-cluster' will also be removed! This is different from testing locally, to prevent the following request IllegalStateException caused by the closed session, also need to refresh the connect session for this case.

@yma96 yma96 requested review from ligangty, sswguo and ruhan1 October 21, 2024 10:33
@sswguo
Copy link
Member

sswguo commented Oct 22, 2024

LGTM.

@yma96 yma96 merged commit 1247339 into Commonjava:main Oct 22, 2024
7 checks passed
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.

2 participants