Skip to content

Remove old chunk mapper.#311

Merged
codesome merged 4 commits intomainfrom
remove-old-chunk-mapper2
Aug 18, 2022
Merged

Remove old chunk mapper.#311
codesome merged 4 commits intomainfrom
remove-old-chunk-mapper2

Conversation

@pstibrany
Copy link
Contributor

This PR removes OldChunkDiskMapper

@pstibrany pstibrany force-pushed the remove-old-chunk-mapper2 branch from a825b20 to a2521b4 Compare August 8, 2022 14:50
@pstibrany
Copy link
Contributor Author

pstibrany commented Aug 8, 2022

@codesome I've removed old chunk mapper in this PR, but now TestOOOCompaction and TestOOOCompactionFailure are failing. It turns out that old chunk mapper was used by default instead of new chunk mapper (which is also in upstream Prometheus).

Would you please take a look at the failing tests? There seem to be small difference between old and new chunk mapper. I'll try to look at it as well, but you may have better idea about the differences between old and new chunk mapper (perhaps just the fact that new one is async is enough change to cause this).

Failures: https://github.com/grafana/mimir-prometheus/runs/7728655169?check_suite_focus=true

@pstibrany
Copy link
Contributor Author

@codesome I've removed old chunk mapper in this PR, but now TestOOOCompaction and TestOOOCompactionFailure are failing. It turns out that old chunk mapper was used by default instead of new chunk mapper (which is also in upstream Prometheus).

Would you please take a look at the failing tests? There seem to be small difference between old and new chunk mapper. I'll try to look at it as well, but you may have better idea about the differences between old and new chunk mapper (perhaps just the fact that new one is async is enough change to cause this).

Failures: https://github.com/grafana/mimir-prometheus/runs/7728655169?check_suite_focus=true

Fix is likely available in prometheus/prometheus#11075.

@codesome
Copy link
Contributor

prometheus/prometheus#11075 is same as the one in mimir-prometheus, and tests might fail for async queue there as well I think. In Prometheus the queue is disabled by default I believe. I will take a look at those tests in coming days.

@codesome
Copy link
Contributor

The last commit should fix the tests. I will merge on green (minus the unrelated lint failure)

@pstibrany
Copy link
Contributor Author

Thanks @codesome, much appreciated! I can take care of updating mimir-prometheus in Mimir as a next step.

@codesome
Copy link
Contributor

Another test failure because of some sorting issue. On it.

pstibrany and others added 4 commits August 18, 2022 13:50
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
@codesome codesome force-pushed the remove-old-chunk-mapper2 branch from 2ec5cc3 to 840f5db Compare August 18, 2022 08:23
@codesome codesome enabled auto-merge (squash) August 18, 2022 08:24
@codesome codesome merged commit acd4a8a into main Aug 18, 2022
@pstibrany pstibrany deleted the remove-old-chunk-mapper2 branch November 28, 2022 08:16
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.

3 participants