Skip to content

Conversation

@mikliapko
Copy link
Contributor

@mikliapko mikliapko commented Aug 19, 2025

stdout returned by sctool version contains two versions and looks like Client version: 3.6.0\nServer version: 3.6.0\n.

In Manager, server and client version are always the same, thus, stdout can be splitlined and the first part taken and passed to ComparableScyllaVersion().

In current implemented the input like 3.6.0\nServer version: 3.6.0\n is set, which ComparableScyllaVersion() somehow manages to handle but which is not technically correct.

Testing:

@mikliapko mikliapko self-assigned this Aug 19, 2025
@mikliapko mikliapko marked this pull request as ready for review August 19, 2025 11:12
@mikliapko mikliapko requested a review from fruch August 19, 2025 11:12
stdout returned by sctool version contains two versions and looks like
'Client version: 3.6.0\nServer version: 3.6.0\n'. In Manager, server and
client version are always the same, thus, stdout can be splitlined and
the first part taken and passed to ComparableScyllaVersion().

In current implemented the input like `3.6.0\nServer version: 3.6.0\n`
is set which ComparableScyllaVersion() somehow manages to handle but
which is not technically correct
@fruch fruch force-pushed the manager-fix-version-parsing branch from 52bebde to be8f530 Compare October 16, 2025 19:09
@fruch
Copy link
Contributor

fruch commented Oct 16, 2025

@mikliapko this is still needed ?

@mikliapko
Copy link
Contributor Author

@mikliapko this is still needed ?

Yes, in general, it doesn't make any tests to fail (it was discovered during debugging) but can be improved to avoid potential issues.

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