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

Provide a way to map a given value to its corresponding shard in Vitess #17292

Open
rohit-nayak-ps opened this issue Nov 28, 2024 · 0 comments
Open

Comments

@rohit-nayak-ps
Copy link
Contributor

Feature Description

At times we need to know which shard a specific vindex value will be mapped for a given cluster configuration.
Essentially a tool or RPC that gives the mapped shard given

  • the vindex type (e.g., hash, xxhash) and
  • shard range

Use Case(s)

  • For debugging and testing to ensure that a specific row is mapped to the correct shard
  • For multi-tenant or geo-sharded clusters we may want to know the shard for specific tenants/geo regions to locate them in specific cloud regions
  • We may want to provision certain shards differently because they house enterprise customers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant