-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
(chore) Bloom shipper: Extend Interval
struct with utility functions
#11841
Conversation
Interval
struct to bloom library
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.
I'm not sure Interval makes sense to put in the v1 pkg -- there's nothing in there that specifically uses it? Not really against it either, but you'll want to actually move the struct definition so it compiles :)
I don't have strong opinions on where the struct resides. I'll move it back to the shipper then. |
d2233ea
to
c747829
Compare
Similar to the FingerprintBounds struct in the blooms/v1 package. Signed-off-by: Christian Haudum <[email protected]>
c747829
to
7fcbab7
Compare
Interval
struct to bloom libraryInterval
struct with utility functions
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.
LGTM
Signed-off-by: Christian Haudum <[email protected]>
grafana#11841) Signed-off-by: Christian Haudum <[email protected]>
What this PR does / why we need it:
Even though it is mainly used by the bloom shipper and bloom gateway, it should reside next to the FingerprintBounds, which has similar characteristics and utility functions.Update:
I reverted moving the struct, but kept the utility functions.