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

Close client and session #3777

Merged
merged 2 commits into from
Apr 5, 2024
Merged

Conversation

Michal-Leszczynski
Copy link
Collaborator

Fixes #3769

@Michal-Leszczynski Michal-Leszczynski marked this pull request as ready for review March 29, 2024 12:15
@karol-kokoszka
Copy link
Collaborator

@Michal-Leszczynski It's failing the repair. I need to merge closing client on session creation. Rest will be updated in next release.

@Michal-Leszczynski
Copy link
Collaborator Author

@karol-kokoszka I'm trying to understand why that's the case. Maybe it discovered some unrelated bug. Failing repair test pauses ongoing repair 4 times and it fails with fifth repair returning session closed error:

2024-03-29T12:27:53.5782633Z --- When: run second repair with context cancel
2024-03-29T12:27:54.0160885Z --- When: run third repair with context cancel
2024-03-29T12:27:54.4337332Z --- When: run fourth repair with context cancel
2024-03-29T12:27:54.8595888Z --- When: run fifth repair till it finishes
2024-03-29T12:27:55.2806464Z     service_repair_integration_test.go:1074: Repair failed: get cluster views: session has been closed

I'm wondering if we actually somehow cache those sessions? What could be the reason for that?
But that's true that it can't be included in the 3.2.7 release without some investigation.

@Michal-Leszczynski Michal-Leszczynski force-pushed the ml/close-client-and-session branch from fb49738 to 1640dcd Compare March 29, 2024 13:53
@Michal-Leszczynski
Copy link
Collaborator Author

@karol-kokoszka It looks like the cause of the error was the fact that repair tests cached CQL session.

@karol-kokoszka
Copy link
Collaborator

please resolve the conflicts

@Michal-Leszczynski Michal-Leszczynski force-pushed the ml/close-client-and-session branch from 1640dcd to b8ac58c Compare April 3, 2024 16:04
@Michal-Leszczynski
Copy link
Collaborator Author

@karol-kokoszka conflicts are resolved!

@Michal-Leszczynski Michal-Leszczynski merged commit 1634cd1 into master Apr 5, 2024
51 of 56 checks passed
@Michal-Leszczynski Michal-Leszczynski deleted the ml/close-client-and-session branch April 5, 2024 09:47
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.

Number of connections established by Scylla Manager outgrows system capabilities
2 participants