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

Update Metadata.get_replicas API #387

Open
dkropachev opened this issue Nov 22, 2024 · 0 comments
Open

Update Metadata.get_replicas API #387

dkropachev opened this issue Nov 22, 2024 · 0 comments
Assignees

Comments

@dkropachev
Copy link
Collaborator

Metadata User-facing getReplicas API changes

If driver have user-facing API to get replica list we need to adapt it to tablets:

  1. To accomodate tablet requirements new optional parameter table should be added, alternatively another method could be implemented with additional table parameter.
  2. If target table is not tablet-based it should return old vnode-based result
  3. If target table is tablet-based it should return known tablet replicas for given token
  4. if there is no tablet record for given token, it should return empty list
@dkropachev dkropachev self-assigned this Nov 22, 2024
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

No branches or pull requests

1 participant