-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Live views aren't removed after disconnection (HTTP) #22996
Comments
This most likely means that the HTTP connection is not closed on the server and the live output stream never gets destroyed. |
@loyd, could you please try specifying |
Yep, with I write a library based on HTTP + |
But emergencies are still possible, so the use of |
Yes, you should only use |
@alexey-milovidov, we can close this issue as the behavior is not a bug in LIVE VIEW tables. The only potential issue is the inability of the ClickHouse server to detect dropped HTTP connections. |
After #42173 it cannot be removed even with Should we reopen the issue or create a new one? |
Hi @loyd, the |
@vzakaznikov, thx for the response. Do you know whether WINDOW VIEW can be used to emulate the semantic of LIVE VIEW? |
Description
If the
WATCH
statement is used via HTTP interface for live views with a timeout, the live view isn't removed after disconnection.Steps to reproduce the bug
Which ClickHouse server version to use?
Checked
21.2.2.8
.Expected behavior
The live view should be removed after a timeout.
The text was updated successfully, but these errors were encountered: