-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
bucket verify: repair out of order labels #964
bucket verify: repair out of order labels #964
Commits on Mar 25, 2019
-
Configuration menu - View commit details
-
Copy full SHA for f0dfe27 - Browse repository at this point
Copy the full SHA f0dfe27View commit details -
verify repair: correctly order series in the index on rewrite
When we have label sets that are not in the correct order, fixing that changes the order of the series in the index. So the index must be rewritten in that new order. This makes this repair tool take up a bunch more memory, but produces blocks that verify correctly.
Configuration menu - View commit details
-
Copy full SHA for f09d3f5 - Browse repository at this point
Copy the full SHA f09d3f5View commit details
Commits on Mar 28, 2019
-
Fix the TSDB block safe-delete function
The directory name must be the block ID name exactly to verify. A temp directory or random name will not work here.
Configuration menu - View commit details
-
Copy full SHA for 230bc7b - Browse repository at this point
Copy the full SHA 230bc7bView commit details
Commits on Apr 1, 2019
-
verify repair: fix duplicate chunk detection
Pointer/reference logic error was eliminating all chunks for a series in a given TSDB block that wasn't the first chunk. Chunks are now referenced correctly via pointers.
Configuration menu - View commit details
-
Copy full SHA for 3f0d6cd - Browse repository at this point
Copy the full SHA 3f0d6cdView commit details
Commits on Apr 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ed78bde - Browse repository at this point
Copy the full SHA ed78bdeView commit details
Commits on Apr 15, 2019
-
Some linters catch errors.Errorf() as its not really part of the errors package.
Configuration menu - View commit details
-
Copy full SHA for 2f179ff - Browse repository at this point
Copy the full SHA 2f179ffView commit details -
Liberally comment this for loop
We're comparing items by pointers, using Go's range variables is misleading here and we need not fall into the same trap.
Configuration menu - View commit details
-
Copy full SHA for 24173d3 - Browse repository at this point
Copy the full SHA 24173d3View commit details
Commits on Apr 17, 2019
-
Take advantage of sort.Interface
This prevents us from having to re-implement label sorting.
Configuration menu - View commit details
-
Copy full SHA for 0d39253 - Browse repository at this point
Copy the full SHA 0d39253View commit details
Commits on Apr 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for bfd44f1 - Browse repository at this point
Copy the full SHA bfd44f1View commit details