You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loop over that list and get each tablet record with that name
We could cut the topo calls in that case e.g. from 4 to 1 (1 each of primary, replica,rdonly) by mirroring what we did in FindAllShardsInKeyspace — attempting to get all of the tablet records in a range scan if we can, and if not fall back to getting the tablet records concurrently.
Use Case(s)
Lessening load on topo servers.
The text was updated successfully, but these errors were encountered:
shlomi-noach
changed the title
Feature Request: Add FindAllTabletsInShard function that operates like FindAllShardsInKeyspace
Feature Request: Add FindAllTabletsInShard function that operates like FindAllShardsInKeyspaceApr 8, 2024
Feature Description
It's a common pattern today to:
We could cut the topo calls in that case e.g. from 4 to 1 (1 each of primary, replica,rdonly) by mirroring what we did in
FindAllShardsInKeyspace
— attempting to get all of the tablet records in a range scan if we can, and if not fall back to getting the tablet records concurrently.Use Case(s)
Lessening load on topo servers.
The text was updated successfully, but these errors were encountered: