-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Milestone
Description
If a source connection drops and reconnects, it re-registers with the realtime queue (rtq). The realtime queue records the difference between most recently sent sequence and last acked sequence numbers as dropped. Those will actually just be re-transmitted.
In addition, when an entry is actually dropped from the rtq (either due to max_bytes or overload protection), those are also logged as drops.
This can cause confusion when a connection is flakey: connections will be re-established and have the drops stat increase, but due to re-transmission, no objects are actually lost as would be indicated by the other types of drops. Therefore, on reconnect instead of increasing the drop count, a "re-transmitted" count should be used instead.