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

batch: organize peers by whether router mode should be used #48075

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

jkarneges
Copy link
Member

@jkarneges jkarneges commented Oct 1, 2024

Related to #48073, in order to enable a smooth transition to the use of ROUTER for backpressured response data, the plan will be to let each session indicate whether it wants to receive response data this way. As a result, when sending batched messages we'll need to organize the batches not only by peer address by also by whether ROUTER should be used or not. This PR allows indicating the mode (use_router) when adding to the batch. For now, the value is always set to false.

@jkarneges jkarneges merged commit a9a0bb4 into main Oct 3, 2024
19 checks passed
@jkarneges jkarneges deleted the jkarneges/batch-router-mode branch October 3, 2024 20:43
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.

2 participants