-
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
block: precalculate hashes if enabled and use them during compaction (downloading) #3031
Commits on Nov 22, 2020
-
block: precalculate hashes if enabled and use them during compaction
Added the possibility to ignore certain directories in objstore.{Download,DownloadDir}. Do not download files which have the same hash as in remote object storage. Wire up `--hash-func` so that writers could specify what hash function to use when uploading. There is no performance impact if no hash function has been explicitly specified. Clean up the removal of files logic in Thanos Compact to ensure we do not remove something that exists on disk already. Tested manually + new tests cover all of this more or less. Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8bae707 - Browse repository at this point
Copy the full SHA 8bae707View commit details
Commits on Dec 2, 2020
-
Merge remote-tracking branch 'origin/master' into add_hash_method
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4ca451f - Browse repository at this point
Copy the full SHA 4ca451fView commit details
Commits on Dec 9, 2020
-
block: expose GatherFileStats and use it
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 259c70b - Browse repository at this point
Copy the full SHA 259c70bView commit details -
Merge remote-tracking branch 'origin/master' into add_hash_method
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for a938561 - Browse repository at this point
Copy the full SHA a938561View commit details
Commits on Dec 22, 2020
-
Revert "block: expose GatherFileStats and use it"
This reverts commit 259c70b. Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e8023b8 - Browse repository at this point
Copy the full SHA e8023b8View commit details -
block: do not calc hash for dirs, add locks
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6e8ebc8 - Browse repository at this point
Copy the full SHA 6e8ebc8View commit details -
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 68df43e - Browse repository at this point
Copy the full SHA 68df43eView commit details -
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 455ea4c - Browse repository at this point
Copy the full SHA 455ea4cView commit details
Commits on Feb 23, 2021
-
Merge remote-tracking branch 'origin/master' into add_hash_method
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0bd177a - Browse repository at this point
Copy the full SHA 0bd177aView commit details -
Fix according to Bartek's comments
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 43dd78b - Browse repository at this point
Copy the full SHA 43dd78bView commit details -
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e8fac48 - Browse repository at this point
Copy the full SHA e8fac48View commit details -
block: close with log on error
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fab4562 - Browse repository at this point
Copy the full SHA fab4562View commit details -
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 883550f - Browse repository at this point
Copy the full SHA 883550fView commit details -
compact: add e2e test for new hash functionality
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for cad16e4 - Browse repository at this point
Copy the full SHA cad16e4View commit details
Commits on Feb 26, 2021
-
Fix according to Bartek's comments
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fd00457 - Browse repository at this point
Copy the full SHA fd00457View commit details
Commits on Mar 1, 2021
-
Merge remote-tracking branch 'origin/main' into add_hash_method
Signed-off-by: Giedrius Statkevičius <giedriuswork@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2175598 - Browse repository at this point
Copy the full SHA 2175598View commit details