client-rust icon indicating copy to clipboard operation
client-rust copied to clipboard

Improve RetryableMultiRegion

Open pingyu opened this issue 3 years ago • 0 comments

In #332, we add a parameter preserve_region_results to indicate that RetryableMultiRegion should return response from all regions, or raise the first Error if there is any.

As @andylokandy suggests, for lower module coupling, other than using a parameter to control behavior of RetryableMultiRegion, it would be better that RetryableMultiRegion returns a generic response, and allows downstream plans to extract what they need from the response.

pingyu avatar Feb 22 '22 08:02 pingyu