tarantool / go-tarantool

Tarantool 1.10+ client for Go language
https://pkg.go.dev/github.com/tarantool/go-tarantool/v2
BSD 2-Clause "Simplified" License
180 stars 57 forks source link

pool: get instance status from `WatchOnce` request #386

Closed DerekBum closed 6 months ago

DerekBum commented 6 months ago

Starting from Tarantool version >= 3.0.0 WatchOnce requset is supported. So we can get instance status using this request instead of calling box.info.

This way user can add instances to the ConnectionPool without the execute access.

I didn't forget about (remove if it is not applicable):

Related issues: Closes #380