tarantool / tarantool-python

Python client library for Tarantool
https://www.tarantool.io
BSD 2-Clause "Simplified" License
100 stars 48 forks source link

Implement getting the cluster nodes list from nodes #135

Closed msiomkin closed 5 years ago

msiomkin commented 5 years ago

Periodically call a user-defined Lua function on a node to obtain or refresh the full cluster nodes list.

Resolves: #134

Totktonada commented 5 years ago

BTW, there is the task about distros updating (#123). I have pinged Alexander about that.

Totktonada commented 5 years ago

I decided to skip review ping-pong and reworked some parts of the patch where I guess I can improve things. I have made the following changes:

Maybe I missed to mention something in the list.

@robinhood23rus Can you please give me feedback about the new version of the patch (force-pushed here).

Totktonada commented 5 years ago

Reorganized parse_uri() to get rid of asserts and make it obvious that its conditions are always met.

denis-ignatenko commented 5 years ago

Changes ok. Approve