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

[WIP] Counter reset test for mmapped OOO chunks #3

Closed
wants to merge 58 commits into from

Conversation

fionaliao
Copy link
Collaborator

@fionaliao fionaliao commented Oct 9, 2023

Not ready for review yet - test is basically complete but waiting for prometheus@b6f903b to be merged in as some assertions are currently failing due to the bug that commit fixes.

Fixed a couple of bugs

  • mint for ooo chunks not always set correctly
  • not always using correct previous appender

zenador and others added 30 commits July 12, 2023 16:20
First version of the code. WIP.

Signed-off-by: György Krajcsovits <[email protected]>
Signed-off-by: György Krajcsovits <[email protected]>
Now we can use nil, since we're returning a slice.
Fixes broken TestOOOCompactionWithDisabledWriteLog

Signed-off-by: György Krajcsovits <[email protected]>
This is the dumb copy paste implementation to get tests to pass.

Signed-off-by: György Krajcsovits <[email protected]>
Test with integer and float histograms
Counter only.

Signed-off-by: György Krajcsovits <[email protected]>
OOOHeadChunk yields a single encoded chunk.

Signed-off-by: György Krajcsovits <[email protected]>
Signed-off-by: György Krajcsovits <[email protected]>
Probably replicating some code here, this can't be the first place for this.

Signed-off-by: György Krajcsovits <[email protected]>
Signed-off-by: György Krajcsovits <[email protected]>
Signed-off-by: György Krajcsovits <[email protected]>
Adopt prometheus#12352 improvement.

Signed-off-by: György Krajcsovits <[email protected]>
Signed-off-by: Jeanette Tan <[email protected]>
carrieedwards and others added 22 commits September 7, 2023 16:57
Fix handling of native histogram encoding in OOO chunks
* Benchmark WBL

Extended WAL benchmark test with WBL parts too - added basic cases for
OOO handling - a percentage of series have a percentage of samples set
as OOO ones.

Signed-off-by: Fiona Liao <[email protected]>
Signed-off-by: Fiona Liao <[email protected]>
Signed-off-by: Fiona Liao <[email protected]>
@fionaliao
Copy link
Collaborator Author

Closed, PR moved to grafana/mimir-prometheus#544

@fionaliao fionaliao closed this Oct 18, 2023
@fionaliao fionaliao deleted the fl/counter-reset-tests branch October 18, 2023 10:02
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.

5 participants