You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
Hello,
it seems this publisher does not handle errors well.
we've seen something happen in production, which is sometimes we see no more data come in at all (for hours) and the "last error" shown
is Error: dial tcp xxx.xxx.xxx.xxx:2003: i/o timeout . it seems after this point no attempts are made to reconnect.
when i then run service snap restart all the stats start coming through (but obviously some stats will be lost)
my suggestion would be:
on connection failure, keep retrying periodically
when there's no connection, buffer stats up to a configurable limit
when the connection restores, drain the buffer and flush all stats (probably best the current stats first, and then backfill from the historical buffer, but just doing everything in order would be fine for me too)
I use snapd version master-ca32c9a
hopefully this is a good bug report, i'm not that familiar with the inner workings of snap and this publisher.
thanks!
The text was updated successfully, but these errors were encountered:
Hello,
it seems this publisher does not handle errors well.
we've seen something happen in production, which is sometimes we see no more data come in at all (for hours) and the "last error" shown
is
Error: dial tcp xxx.xxx.xxx.xxx:2003: i/o timeout
. it seems after this point no attempts are made to reconnect.when i then run
service snap restart
all the stats start coming through (but obviously some stats will be lost)my suggestion would be:
I use
snapd version master-ca32c9a
hopefully this is a good bug report, i'm not that familiar with the inner workings of snap and this publisher.
thanks!
The text was updated successfully, but these errors were encountered: