Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH vshard 0/7] Router extended discovery
@ 2020-05-01  0:16 Vladislav Shpilevoy
  2020-05-01  0:16 ` [Tarantool-patches] [PATCH vshard 1/7] test: print errors in a portable way Vladislav Shpilevoy
                   ` (7 more replies)
  0 siblings, 8 replies; 29+ messages in thread
From: Vladislav Shpilevoy @ 2020-05-01  0:16 UTC (permalink / raw)
  To: tarantool-patches, olegrok

Goal of the patchset - solve the problem of routers downloading
buckets from storages in too big chunks, making storages waste
seconds of TX thread time, when they need to return a million of
buckets without yields.

Additionally it was asked to allow to stop discovery after all
buckets are already discovered by router. For that a new
configuration option is introduced and a public function.

Branch: http://github.com/tarantool/vshard/tree/gerold103/gh-210-discovery-millions-of-buckets
Issue: https://github.com/tarantool/vshard/issues/210

Vladislav Shpilevoy (7):
  test: print errors in a portable way
  router: introduce discovery_mode
  test: disable router discovery for some tests
  test: clear route map, respecting statistics
  router: keep known bucket count stat up to date
  router: make discovery smoother in a big cluster
  router: introduce discovery mode 'once'

 example/router.lua                        |   3 +
 test/lua_libs/util.lua                    |   9 +
 test/misc/check_uuid_on_connect.result    |  20 +-
 test/misc/check_uuid_on_connect.test.lua  |   7 +-
 test/rebalancer/bucket_ref.result         |   8 +-
 test/rebalancer/bucket_ref.test.lua       |   3 +-
 test/rebalancer/receiving_bucket.result   |  18 +-
 test/rebalancer/receiving_bucket.test.lua |   8 +-
 test/router/exponential_timeout.result    |  12 +-
 test/router/exponential_timeout.test.lua  |   4 +-
 test/router/reload.result                 |   5 +-
 test/router/reload.test.lua               |   3 +-
 test/router/retry_reads.result            |  16 +-
 test/router/retry_reads.test.lua          |  10 +-
 test/router/router.result                 |  56 +++---
 test/router/router.test.lua               |  28 ++-
 test/router/router2.result                | 221 ++++++++++++++++++++++
 test/router/router2.test.lua              |  83 ++++++++
 test/router/sync.result                   |  15 +-
 test/router/sync.test.lua                 |   4 +-
 test/router/wrong_config.result           |   5 +-
 test/router/wrong_config.test.lua         |   5 +-
 test/storage/storage.result               |   9 +-
 test/storage/storage.test.lua             |   3 +-
 test/unit/error.result                    |  18 +-
 test/unit/error.test.lua                  |   9 +-
 vshard/cfg.lua                            |  10 +
 vshard/consts.lua                         |   5 +-
 vshard/router/init.lua                    | 203 ++++++++++++++++----
 vshard/storage/init.lua                   |  39 +++-
 30 files changed, 667 insertions(+), 172 deletions(-)
 create mode 100644 test/router/router2.result
 create mode 100644 test/router/router2.test.lua

-- 
2.21.1 (Apple Git-122.3)

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2020-05-09  7:37 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-01  0:16 [Tarantool-patches] [PATCH vshard 0/7] Router extended discovery Vladislav Shpilevoy
2020-05-01  0:16 ` [Tarantool-patches] [PATCH vshard 1/7] test: print errors in a portable way Vladislav Shpilevoy
2020-05-01 16:58   ` Oleg Babin
2020-05-02 20:08     ` Vladislav Shpilevoy
2020-05-04 14:26       ` Oleg Babin
2020-05-01  0:16 ` [Tarantool-patches] [PATCH vshard 2/7] router: introduce discovery_mode Vladislav Shpilevoy
2020-05-01 16:59   ` Oleg Babin
2020-05-01  0:16 ` [Tarantool-patches] [PATCH vshard 3/7] test: disable router discovery for some tests Vladislav Shpilevoy
2020-05-01 17:00   ` Oleg Babin
2020-05-02 20:09     ` Vladislav Shpilevoy
2020-05-04 14:26       ` Oleg Babin
2020-05-01  0:16 ` [Tarantool-patches] [PATCH vshard 4/7] test: clear route map, respecting statistics Vladislav Shpilevoy
2020-05-01 17:00   ` Oleg Babin
2020-05-01  0:16 ` [Tarantool-patches] [PATCH vshard 5/7] router: keep known bucket count stat up to date Vladislav Shpilevoy
2020-05-01 17:01   ` Oleg Babin
2020-05-01  0:16 ` [Tarantool-patches] [PATCH vshard 6/7] router: make discovery smoother in a big cluster Vladislav Shpilevoy
2020-05-01 17:01   ` Oleg Babin
2020-05-02 20:12     ` Vladislav Shpilevoy
2020-05-04 14:26       ` Oleg Babin
2020-05-04 21:09         ` Vladislav Shpilevoy
2020-05-06  8:27           ` Oleg Babin
2020-05-07 22:45   ` Konstantin Osipov
2020-05-08 19:56     ` Vladislav Shpilevoy
2020-05-09  7:37       ` Konstantin Osipov
2020-05-01  0:16 ` [Tarantool-patches] [PATCH vshard 7/7] router: introduce discovery mode 'once' Vladislav Shpilevoy
2020-05-01 17:02   ` Oleg Babin
2020-05-02 20:12     ` Vladislav Shpilevoy
2020-05-04 14:27       ` Oleg Babin
2020-05-06 20:54 ` [Tarantool-patches] [PATCH vshard 0/7] Router extended discovery Vladislav Shpilevoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox