-
Notifications
You must be signed in to change notification settings - Fork 455
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
Add compaction of mutable segments for index blocks #1197
Add compaction of mutable segments for index blocks #1197
Conversation
976b8e5
to
c3962d3
Compare
Codecov Report
@@ Coverage Diff @@
## master #1197 +/- ##
======================================
Coverage 70.7% 70.7%
======================================
Files 826 826
Lines 69869 69869
======================================
Hits 49411 49411
Misses 17296 17296
Partials 3162 3162
Continue to review full report at Codecov.
|
64592d1
to
632daaa
Compare
…ced timeout tests
2a4fc05
to
673ac2c
Compare
673ac2c
to
185c86f
Compare
Temporal functions don't properly propagate series tags (thanks to @arnikola for suggesting this as the bug!). For instance, given series: ``` coordinator_engine_datapoints{type="fetched"} 1386 coordinator_engine_datapoints{type="generated"} 104 ``` a query like increase(coordinator_engine_datapoints[5s]) will return ``` { "__name__": "coordinator_engine_datapoints", "instance": "host.docker.internal:7203", "job": "coordinator", "role": "remote" } { "__name__": "coordinator_engine_datapoints", "instance": "host.docker.internal:7203", "job": "coordinator", "role": "remote" } ``` dropping tags. Querying the same range without increase gives all tags, as expected. Fix is simple; we weren't copying tags into the new block's SeriesMetas; now we do.
* Correctly return error for failed json unmarshal * Added test for erroring on bad JSON parsing.
Adds processing for carbon queries, handling the find and query endpoints.
This also updates the carbon ingester configuration to match the default M3 ingester config where if the config is not nil, then it is used, otherwise it's not. This removes the enabled field which was rather different to how the M3 ingester config's presence or absence defines whether to use it or not.
@@ -0,0 +1,358 @@ | |||
// Copyright (c) 2018 Uber Technologies, Inc. |
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.
2019
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.
As talked, going to leave these as a fair few were from 2018 hah.
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
This change uses the compaction planner to constantly move mutable segments from the index block into a compacted state.