-
Notifications
You must be signed in to change notification settings - Fork 650
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
batchVAA guardian changes #1522
Conversation
ee25a74
to
63ef330
Compare
9a8ec4f
to
94a5e6a
Compare
94a5e6a
to
42d7af6
Compare
Part of #1679 |
Addresses #1857 |
ea7d81e
to
8846c45
Compare
@bruce-riley, @jynnantonix, @tbjump I'm going to kick this to WIP while I put the BatchVAA generation (this entire codepath) behind a feature flag. I'm also going to update the channels in this PR to be typed as read or write, in the style of @tbjump #1931, as the conflict is imminent. |
@tbjump I decided against implementing the directional Go channel changes, as they require 1.19, and the change would have been messy if I would have implemented the same generics in this PR. I think the best course of action is to just see whatever PR lands first, then address the merge conflicts. |
926c224
to
0d065fc
Compare
0d065fc
to
110c0a3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The general idea seems fine but duplicating the core processor logic so that we have 2 different code paths that are almost, but not quite the same is just asking for trouble. For example, the copied code is missing the re-observation rate-limit on the sender side (#1621) and deduplication on the receiver side (#1462).
My understanding is that @hendrikhofstadt 's processor refactor (#1953) should make it much easier to implement batch handling so I suggest we either wait for that to merge or stack this PR on top of that one (graphite's CLI makes it easy to do this).
Strongly agree with @jynnantonix here. I think the general idea looks good. |
I'm using this for reference as I make a new/similar PR on top of Hendrik's refactor PR. |
Here are some things to consider when looking at this, and an update on where this sits: implementation details
Completed:
Needs to be added after Hendrik's guardian refactor #1953:
I'm closing this PR now as it makes more sense to make a fresh PR after #1953 lands, rather than rebasing and updating this. |
No description provided.