hubcio opened a new pull request, #2736: URL: https://github.com/apache/iggy/pull/2736
Purging one topic while a sibling retained messages reported zero messages for the entire stream via get_stats(). The zero_out chain used store(0) at each tier and then called zero_out on the parent, blanking the entire ancestor chain rather than subtracting the purged child's contribution. Replace store(0) with swap(0) + parent.decrement(prev) so each tier only subtracts its own value. Remove the redundant topic-level zero_out from purge_topic — partition zeroing already propagates correctly through the hierarchy. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
