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

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Fri Mar 2 00:39:36 MSK 2018


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(-)

-- 
2.14.3 (Apple Git-98)




More information about the Tarantool-patches mailing list