mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-26 09:35:53 +03:00
[GH-ISSUE #70] stream/node flickering in ui after harvester restart #55
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/log.io-NarrativeScience-old#55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @archieco on GitHub (May 18, 2013).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/70
Hi there,
Log.io is a fantastic tool - I wish I could send you the look on some engineers' faces after they saw it configured on our system - amazement, relief, joy :). But, I need some help with a problem we've run into.
We have a logio setup of about a dozen servers running 3.3 on ubuntu. It appears that if the following sequence of events occurs, nodes/streams begin to flicker in the ui and make it unusable. This is the most minimal way I was able to reproduce the issue.
start log.io-server
start log.io-harvester
At this point everything is good
stop log.io-harvester
Now the streams/nodes for the harvester disappear as expected
start log.io-harvester
Now the streams/nodes for the restarted harvester only appear in the UI when log events go to the log server.
Stopping and starting log.io-server resolves the issue in the UI but it would be great if the server was resilient to harvesters stopping and starting.
@archieco commented on GitHub (May 18, 2013):
After a little more debugging...
If I make a change to log.io.js...
... causing the browser to ignore those events...
stopping the harvester process has no impact on the ui unless the browser is refreshed. When the browser is refreshed the node and its streams will be missing. After starting the harvester again, the browser sees the new node and all its streams and there is no flickering. Hope that narrows it down.
@jacobfra commented on GitHub (Nov 27, 2013):
Was this ever resolved. I just started looking into logio and I am liking what I see so far.
@jacobfra commented on GitHub (Nov 27, 2013):
I did archieco's solution above and it does seem to resolve the flickering.
@msmathers commented on GitHub (Aug 1, 2014):
This has been addressed in v0.3.4. Both the server and harvester will gracefully recover from connection thrashing.