Skip to content

fix(metrics): count a failed receive as a transport error only - #169

Merged
catinspace-au merged 4 commits into
mainfrom
fix/recv-error-not-record-error
Nov 10, 2026
Merged

catinspace-au merged 4 commits into
mainfrom
fix/recv-error-not-record-error

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

A failed receive reads no record. The loop counted it in archive_errors_total and the console's records_error total. Deleting a source left its topic subscribed, so the console showed record errors where no record existed. scalo already counts the failure in transport_recv_errors_total by class.

The e2e test deletes the topic while the archiver runs and checks that archive_errors_total stays at zero. It fails without the fix.

A failed receive reads no record. The loop counted it in archive_errors_total and the console's records_error total. Deleting a source left its topic subscribed, so the console showed record errors where no record existed. scalo already counts the failure in transport_recv_errors_total by class.

The e2e test deletes the topic while the archiver runs and checks that archive_errors_total stays at zero. It fails without the fix.
scalo 2.14.29 skips the Kafka ecosystem's internal topics in discovery, so a scale-profile archiver no longer archives Strimzi Cruise Control's topics. It also unsubscribes from the deleted last topic when discovery finds no topic. The helm library pin moves to 2.14.29.
@catinspace-au
catinspace-au marked this pull request as ready for review November 10, 2026 17:55
The schema's default topic_exclude now lists the five Kafka-ecosystem internal topic patterns scalo 2.14.29 adds.
librdkafka only learns a topic was deleted at its next metadata refresh, five minutes by default. The test's 45 second wait for a failed receive passed or timed out by chance. It now sets a one-second refresh, so the failed receive comes within the wait.
@catinspace-au
catinspace-au merged commit 8e67c45 into main Nov 10, 2026
23 checks passed
@catinspace-au
catinspace-au deleted the fix/recv-error-not-record-error branch November 10, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant