Răsfoiți Sursa

Fix for the "spot" check erroring when a checksum command errors (#1089).

Dan Helfman 3 săptămâni în urmă
părinte
comite
79cf3495ee
2 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 1 0
      NEWS
  2. 1 1
      borgmatic/actions/check.py

+ 1 - 0
NEWS

@@ -1,6 +1,7 @@
 2.0.6.dev0
 2.0.6.dev0
  * #1068: Fix a warning from LVM about leaked file descriptors.
  * #1068: Fix a warning from LVM about leaked file descriptors.
  * #1086: Fix for the "spot" check breaking when the "--progress" flag is used.
  * #1086: Fix for the "spot" check breaking when the "--progress" flag is used.
+ * #1089: Fix for the "spot" check erroring when a checksum command errors.
  * #1091: Fix for the "config generate" action generating invalid configuration when upgrading
  * #1091: Fix for the "config generate" action generating invalid configuration when upgrading
    deprecated command hooks.
    deprecated command hooks.
  * #1093: Fix for the LVM hook erroring when the "--dry-run" flag is used.
  * #1093: Fix for the LVM hook erroring when the "--dry-run" flag is used.

+ 1 - 1
borgmatic/actions/check.py

@@ -460,7 +460,7 @@ def collect_spot_check_archive_paths(
     )
     )
 
 
 
 
-SAMPLE_PATHS_SUBSET_COUNT = 10000
+SAMPLE_PATHS_SUBSET_COUNT = 5000
 
 
 
 
 def compare_spot_check_hashes(
 def compare_spot_check_hashes(