scylladb / scylladb/python-rs-driver

Enable manual metadata refresh

Open Beginner friendly
#158 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
6
Forks
7
Avg merge
5d 13h
Merged PRs (30d)
9

Description

Old driver: cluster.refresh_nodes(force_token_rebuild=True) (test/pylib/util.py:126) is used by
the manager fixture to force fast reconvergence after topology changes.

This functionality is used in almost every test/cluster test.

The implementation will be just exposing already implemented method refresh_metadata() on Session in rust driver.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the manager fixture usage in test/pylib/util.py:126 and inspect the Session entry point that already provides refresh_metadata(). Expose that existing method through the driver, then run the relevant test/cluster tests to verify metadata can be refreshed manually and reconvergence still works after topology changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
74/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.