-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto Eject Host down from pool connections. #272
Comments
Добрый день. Совсем убрать на данный момент нельзя. При падении тарантула пул это должен определить с некоторой задержкой и убрать его из списка активных соединений. Но подключаться к этому хосту он по-прежнему будет пытаться. А после успешного подключения - слать запросы. Можно с помощью https://pkg.go.dev/github.com/tarantool/go-tarantool@v1.10.0/connection_pool#Connect |
@oleg-jukovec Почему то не работает чекер, поставил на 1 секунду. Запросы все равно летят в недоступный контейнер.
|
Попробуйте убрать из опций |
@oleg-jukovec помогло, спасибо! |
close |
Нужно будет посмотреть проблему внимательней. Хоть и не критично, но неприятно. |
The ConnectionPool didn't close a connection if it couldn't get the conenction a role on update state check. Closes #272
The ConnectionPool didn't close a connection if it couldn't get a role when checking the connection. Closes #272
The ConnectionPool didn't close a connection if it couldn't get a role when checking the connection. Closes #272
Overview The release adds pagination support and wrappers for for the crud module. Breaking changes There are no breaking changes in the release. New features Support pagination (#246). A Makefile target to test with race detector (#218). Support CRUD API (#108). An ability to replace a base network connection to a Tarantool instance (#265). Bugfixes Several non-critical data race issues (#218). ConnectionPool does not properly handle disconnection with Opts.Reconnect set (#272).
Overview The release adds pagination support and wrappers for the crud module. Breaking changes There are no breaking changes in the release. New features Support pagination (#246). A Makefile target to test with race detector (#218). Support CRUD API (#108). An ability to replace a base network connection to a Tarantool instance (#265). Bugfixes Several non-critical data race issues (#218). ConnectionPool does not properly handle disconnection with Opts.Reconnect set (#272).
Overview The release adds pagination support and wrappers for the crud module. Breaking changes There are no breaking changes in the release. New features Support pagination (#246). A Makefile target to test with race detector (#218). Support CRUD API (#108). An ability to replace a base network connection to a Tarantool instance (#265). Bugfixes Several non-critical data race issues (#218). Build on Apple M1 with OpenSSL (#260). ConnectionPool does not properly handle disconnection with Opts.Reconnect set (#272).
Overview The release adds pagination support and wrappers for the crud module. Breaking changes There are no breaking changes in the release. New features Support pagination (#246). A Makefile target to test with race detector (#218). Support CRUD API (#108). An ability to replace a base network connection to a Tarantool instance (#265). Missed iterator constant (#285). Bugfixes Several non-critical data race issues (#218). Build on Apple M1 with OpenSSL (#260). ConnectionPool does not properly handle disconnection with Opts.Reconnect set (#272).
Overview The release adds pagination support and wrappers for the crud module. Breaking changes There are no breaking changes in the release. New features Support pagination (#246). A Makefile target to test with race detector (#218). Support CRUD API (#108). An ability to replace a base network connection to a Tarantool instance (#265). Missed iterator constant (#285). Bugfixes Several non-critical data race issues (#218). Build on Apple M1 with OpenSSL (#260). ConnectionPool does not properly handle disconnection with Opts.Reconnect set (#272). Watcher events loss with a small per-request timeout (#284). Connect() panics on concurrent schema update (#278). Wrong Ttr setup by Queue.Cfg() (#278). Flaky queue/Example_connectionPool (#278). Flaky queue/Example_simpleQueueCustomMsgPack (#277). Other queue module version bumped to 1.3.0 (#278).
Overview The release adds pagination support and wrappers for the crud module. Breaking changes There are no breaking changes in the release. New features Support pagination (#246). A Makefile target to test with race detector (#218). Support CRUD API (#108). An ability to replace a base network connection to a Tarantool instance (#265). Missed iterator constant (#285). Bugfixes Several non-critical data race issues (#218). Build on Apple M1 with OpenSSL (#260). ConnectionPool does not properly handle disconnection with Opts.Reconnect set (#272). Watcher events loss with a small per-request timeout (#284). Connect() panics on concurrent schema update (#278). Wrong Ttr setup by Queue.Cfg() (#278). Flaky queue/Example_connectionPool (#278). Flaky queue/Example_simpleQueueCustomMsgPack (#277). Other queue module version bumped to 1.3.0 (#278).
Привет, извини, что на русском. Не подскажешь есть ли механизм убирания упавшего тарантула из пула коннектов. Не могу найти в библиотеке. Пакет
connection_pool
. НашелDeactivated(conn *tarantool.Connection, role Role) error
но нет примеров как использовать.
The text was updated successfully, but these errors were encountered: