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
Changefeed won't start via Web UI with .limit(...)
in query (2.1.4, OS X)
#4852
Comments
That's weird. Could be related to #4850 as well. |
Originally, I did this on Chrome but this also occurs on Safari. I don't think it's a browser issue. |
Is this reproducible in the drivers or is it purely a webui issue? |
@coffeemug - Ran same query via Python driver and it's working as expected. Ran into another issue where I ran the query, and it acts as if it never sets up the changefeed although the initial result is returned? I see that without running any query that it is doing some sort of heartbeat to the server for I assume information on the different nodes currently connected in the cluster. But after running the query, it pings one constantly as seen here (for you @deontologician): |
Thank you 💯 |
I think we should re-test this once #4850 is fixed, because it might be a side effect of that bug. The HTTP interface that the web UI is using uses a 500ms timeout for each cursor CONTINUE request, which is what those "heartbeats" are coming from. |
Although it's working fine in the driver, I think this is pretty important considering we give this exact example in our docs and slides. |
It's definitely very important to fix asap; we do things like demos of this all the time, it's a flagship feature of the product, and should definitely work. BTW, can you reproduce it if the limit is smaller (e.g. 5 or 10 docs)? |
@coffeemug - so interestingly if I run:
It just halts with initial response and looks like this: However, if I reduce the limit by one to
Then it appears like the gif I posted above with the spinning icon. Here's a video for your entertainment and assistance 😮! |
It looks like subsequent batches are causing the issue, this may be related to adding profile information to http queries |
Ok, this was really dumb. In order for the dataexplorer to detect we're dealing with a changefeed and use the right logic, it checks the cursor's |
We should totally add a predicate in the drivers on cursors to check for this stuff. Like |
See�#4857 for adding explicit information on whether something is a feed or not.� |
Ah, cool! |
Reviewed by @dalanmiller in CR 3233 Fixes #4852
Fixed in f59feae |
This query will run:
However, this query will return the correct results but the changefeed won't start:
Here is a video example of this happening
The text was updated successfully, but these errors were encountered: