-
Notifications
You must be signed in to change notification settings - Fork 55
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
Pool hangs when trying to get connections wich closed on server timeout (they remain idle in pool) #42
Comments
Not sure this is a pool issue. Looks more related to the driver /cc @mirromutth |
Connections with server timeout remain in pool as idle. If the most of the connections in pool stay idle but in fact they are closed... |
I think, should be a trigger that processes events of server timeout/shutdown for particular connection in pool and actualizes connection statuses |
Yeah, that's already on our radar, see r2dbc/r2dbc-spi#35. |
Thank you! Are there any forcasts or plans about this feature in SPI?
Пятница, 25 октября 2019, 13:00 +03:00 от Mark Paluch ***@***.***>:
Yeah, that's already on our radar, see r2dbc/r2dbc-spi#35 .
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub , or unsubscribe .
--
Максим Морсков
|
A driver/pool impl cannot implement anything that isn’t specified yet. |
Case:
When it hangs:
ERROR [lettuce-epollEventLoop-4-2] dev.miku.r2dbc.mysql.client.ReactorNettyClient: Exchange cancelled while exchange is active. This is likely a bug leading to unpredictable outcome.
Mysql server 5.7.27, timeout = 180s
spring.r2dbc.connection-timeout=3s
spring.r2dbc.pool.initial-size=10
spring.r2dbc.pool.max-size=200
spring.r2dbc.pool.max-idle-time=10s
spring.r2dbc.pool.validation-query=SELECT 1
spring.r2dbc.pool.max-create-connection-time=3s
spring.r2dbc.pool.max-acquire-time=5s
spring.r2dbc.pool.max-life-time=180s
spring-data-r2dbc
1.0.0.RC1
r2dbc-pool
0.8.0.RC1
r2dbc-mysql
0.8.0.RC2
The text was updated successfully, but these errors were encountered: