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
refactor(queuev2): distinguish benign vs real shadow mismatches
ExtraInCache (tasks in cache not in DB) is benign given task independence.
It now logs at Info without incrementing the mismatch counter, so it is
still observable without polluting the Warn metric used for alerting.
MissingFromCache and NextKeyMismatch are real divergences: they log at Warn
and increment the counter as before.
shadowMismatch.dbTaskCount and shadowMismatch.cacheTaskCount moved into the
mismatch tag set so they are only emitted when there is something to act on.
The match path logs a bare Debug with no extra fields.
Signed-off-by: Seva Kaloshin <seva.kaloshin@gmail.com>
0 commit comments