Skip to content

http: enable flush-on-worker-key-change for 1 worker #464

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

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

alltilla
Copy link
Member

When the URL is templated and batching is enabled it does not matter how many workers we have, we
need to close the batch when the partition key changes.

The condition for the if statement was wrong for a long time, however since 70c704c it not only resulted in a missing error log and missing init fail, but we ran with flush-on-worker-key-change(no), messing up the batching.

Signed-off-by: Attila Szakacs [email protected]

When the URL is templated and batching is enabled
it does not matter how many workers we have, we
need to close the batch when the partition key
changes.

The condition for the if statement was wrong for
a long time, however since 70c704c it not only
resulted in a missing error log and missing init
fail, but we ran with flush-on-worker-key-change(no),
messing up the batching.

Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
@alltilla alltilla requested a review from MrAnno January 23, 2025 14:25
Copy link
Member

@MrAnno MrAnno left a comment

Choose a reason for hiding this comment

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

Oh :(

@bazsi bazsi merged commit 5a748cb into axoflow:main Jan 23, 2025
22 checks passed
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.

3 participants