[patches] [PATCH vshard 0/5] router: connect to all replicas including slaves

Georgy Kirichenko georgy at tarantool.org
Tue Mar 6 13:31:32 MSK 2018


Ok for me

On Friday, March 2, 2018 12:39:36 AM MSK Vladislav Shpilevoy wrote:
> Branch:
> http://github.com/tarantool/tarantool/tree/gh-76-hold-slave-connections
> Issue: https://github.com/tarantool/vshard/issues/76
> 
> The patchset strongly simplifies failover by removal of
> replicaset.candidate. It becomes possible when a router holds connections
> to all all replicas of each replicaset, including slaves.
> 
> Vladislav Shpilevoy (5):
>   On reconfig update internals only after success box.cfg
>   router: print 'Discovering bucket' under verbose log level
>   On reconfig reuse old connections if possible
>   router: connect to all replicas including slaves
>   router: get rid of replicaset.candidate
> 
>  test/failover/failover.result   |  67 +++-------------
>  test/failover/failover.test.lua |  29 +------
>  test/misc/reconfigure.result    |  76 ++++++++++++++++++
>  test/misc/reconfigure.test.lua  |  29 +++++++
>  test/router/router.result       |  74 ++++++++++++++++-
>  test/router/router.test.lua     |  34 +++++++-
>  test/storage/storage.result     |  60 ++++++++++++++
>  test/storage/storage.test.lua   |  29 +++++++
>  vshard/replicaset.lua           | 171
> ++++++++++++++++------------------------ vshard/router/init.lua          | 
> 80 +++++++------------
>  vshard/storage/init.lua         |  28 ++++---
>  11 files changed, 432 insertions(+), 245 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20180306/5e1d1be7/attachment.sig>


More information about the Tarantool-patches mailing list