Skip to content

Get a list of 'connectable' instances from the first node #134

Closed

Description

@sharonovd

Use-case:
there is a sharded cluster of ~50 tarantools, 12 vshard-routers. User wants to be able to reconnect to another noe smoothly (if the first one goes down). It is not suitable to pass all 50 nodes to connectmesh, moreover - adding a new router requires all client applications restart.

Proposed solution:

  • connector should receive a list of connectable nodes from the first one it connects to. Exact procedure on tarantool side must be configurable.
  • this list should replace the one passed initially.
  • this list should be refreshed periodically in the background

Activity

  1. sharonovd commented on Mar 20, 2019

    @sharonovd
    Author

    Corner cases:

    1. What should be done if after a list refresh currently active node is no longer in it?
    2. What is the exact API for connector and tarantool?

    @Totktonada please help elaborate those, I usually tend to simplest solutions

  2. added a commit that references this issue on Mar 21, 2019
    9851167
  3. added 5 commits that reference this issue on Mar 23, 2019
    3f68e9b
    7a4659b
    0448226
    746a084
    b12e79d
  4. added 2 commits that reference this issue on May 31, 2019
    ce3d3b8
    852be97
  5. added 2 commits that reference this issue on Jun 9, 2019
    1576d2c
    d64c52b
  6. added a commit that references this issue on Jun 10, 2019
    4dfe5f9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions