Skip to content
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

请问如何处理数据库存储的客户端连接状态,假如单节点部署,重启过程中客户端离线,数据库的状态如何改变呢,有什么策略可以主动ping客户端吗 #250

Open
dataSpark-ux opened this issue May 18, 2023 · 1 comment

Comments

@dataSpark-ux
Copy link

No description provided.

@dataSpark-ux dataSpark-ux changed the title 请问如果处理数据库的客户端连接状态,假如单节点部署,重启过程中客户端离线,数据库的状态如何改变呢,有什么策略可以主动ping客户端吗 请问如何处理数据库存储的客户端连接状态,假如单节点部署,重启过程中客户端离线,数据库的状态如何改变呢,有什么策略可以主动ping客户端吗 May 18, 2023
@aazainn
Copy link

aazainn commented Jul 6, 2023

1.主动ping的看 writerIdleTimeSeconds 配置。
2.连接状态的,可以在onclose等事件中改变数据库状态

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants