Skip to content

tests: replace SimpleStrategy with NetworkTopologyStrategy#883

Merged
dkropachev merged 1 commit into
scylladb:masterfrom
roydahan:more-simple-strategy
May 11, 2026
Merged

tests: replace SimpleStrategy with NetworkTopologyStrategy#883
dkropachev merged 1 commit into
scylladb:masterfrom
roydahan:more-simple-strategy

Conversation

@roydahan
Copy link
Copy Markdown
Collaborator

ScyllaDB has dropped support for SimpleStrategy. Update all tests to use NetworkTopologyStrategy instead. Hosts in token replica map tests now include datacenter and rack attributes as required by NTS.

Pre-review checklist

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have provided docstrings for the public items that I want to introduce.
  • I have adjusted the documentation in ./docs/source/.
  • I added appropriate Fixes: annotations to PR description.

ScyllaDB has dropped support for SimpleStrategy. Update all CQL
statements, test fixtures, examples, benchmarks, and management
utilities to use NetworkTopologyStrategy instead.

The SimpleStrategy class definition in cassandra/metadata.py is
preserved for backward compatibility with Cassandra clusters.
Copy link
Copy Markdown
Collaborator

@dkropachev dkropachev left a comment

Choose a reason for hiding this comment

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

Looks good, failure has nothing todo with this PR

@dkropachev dkropachev merged commit fb13815 into scylladb:master May 11, 2026
17 of 22 checks passed
@sylwiaszunejko
Copy link
Copy Markdown
Collaborator

@roydahan just FYI I didn't touch those tests in my PR because they are not executed in out CI e.g. tests in tests/integration/long

@dkropachev
Copy link
Copy Markdown
Collaborator

@roydahan just FYI I didn't touch those tests in my PR because they are not executed in out CI e.g. tests in tests/integration/long

I do remember we discussed em

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.

3 participants