[Tarantool-patches] [PATCH vshard 0/5] Router backoff, storage disable
Oleg Babin
olegrok at tarantool.org
Sat Dec 18 16:58:10 MSK 2021
Thanks for your patchset. LGTM.
On 17.12.2021 03:25, Vladislav Shpilevoy wrote:
> The patchset introduces vshard.storage auto and manual enable/disable. Disabled
> storage blocks most of public API calls. The state is handled by the router in
> a special way so it transparently retries requests failed due to the storage
> being disabled.
>
> Branch:http://github.com/tarantool/vshard/tree/gerold103/gh-298-replica-backoff-part-2
> Issue:https://github.com/tarantool/vshard/issues/298
>
> Vladislav Shpilevoy (5):
> router: backoff on some box errors
> storage: auto enable/disable
> storage: manual enable/disable
> error: introduce from_string
> router: backoff on storage being disabled
>
> example/localcfg.lua | 1 -
> test/router/router2.result | 325 ++++++++++++++++++++++++++++++++++
> test/router/router2.test.lua | 132 ++++++++++++++
> test/storage/storage.result | 128 +++++++++++++
> test/storage/storage.test.lua | 55 ++++++
> test/unit/error.result | 18 ++
> test/unit/error.test.lua | 6 +
> test/unit/garbage.result | 17 +-
> test/unit/garbage.test.lua | 15 +-
> test/unit/rebalancer.result | 2 +-
> test/unit/rebalancer.test.lua | 2 +-
> vshard/consts.lua | 1 +
> vshard/error.lua | 32 +++-
> vshard/replicaset.lua | 119 +++++++++++--
> vshard/router/init.lua | 3 +-
> vshard/storage/init.lua | 207 +++++++++++++++++-----
> 16 files changed, 987 insertions(+), 76 deletions(-)
>
More information about the Tarantool-patches
mailing list