If driver have user-facing API to get replica list we need to adapt it to tablets:
To accomodate tablet requirements new optional parameter table should be added, alternatively another method could be implemented with additional table parameter.
If target table is not tablet-based it should return old vnode-based result
If target table is tablet-based it should return known tablet replicas for given token
if there is no tablet record for given token, it should return empty list
Metadata User-facing
getReplicas
API changesIf driver have user-facing API to get replica list we need to adapt it to tablets:
table
should be added, alternatively another method could be implemented with additionaltable
parameter.table
is nottablet-based
it should returnold
vnode-based resulttable
istablet-based
it should return known tablet replicas for given token