python-driver
python-driver copied to clipboard
Update Metadata.get_replicas API
Metadata User-facing getReplicas API changes
If driver have user-facing API to get replica list we need to adapt it to tablets:
- To accomodate tablet requirements new optional parameter
tableshould be added, alternatively another method could be implemented with additionaltableparameter. - If target
tableis nottablet-basedit should returnoldvnode-based result - If target
tableistablet-basedit should return known tablet replicas for given token - if there is no tablet record for given token, it should return empty list