Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: not owned stream count #13030

Merged
merged 1 commit into from
May 24, 2024

Conversation

vlad-diachenko
Copy link
Contributor

@vlad-diachenko vlad-diachenko commented May 24, 2024

What this PR does / why we need it:

added an additional field to track the count of not-owned streams count, otherwise when recalculating job updates ownedStreamCount and not-owned streams are actually flushed, and the counter will contain the wrong value because it's decremented every time the stream is flushed.

… otherwise when recalculating job updates ownedStreamCount and not owned streams are actually flushed, the counter will contain wrong value because it's decremented every time the stream is flushed.

Signed-off-by: Vladyslav Diachenko <vlad.diachenko@grafana.com>
@vlad-diachenko vlad-diachenko requested a review from a team as a code owner May 24, 2024 10:17
@vlad-diachenko vlad-diachenko changed the title vlad.diachenko/not-owned-stream-counter fix: not owned stream count May 24, 2024
@vlad-diachenko vlad-diachenko enabled auto-merge (squash) May 24, 2024 12:20
Copy link
Contributor

@JordanRushing JordanRushing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants