[#225] Restore invalid_obj check #225

Merged
abereziny merged 1 commit from abereziny/frostfs-testlib:feature-restore-inv-check-0.37 into support/v0.37 2024-05-16 10:30:57 +00:00

View file

@ -108,6 +108,8 @@ class LoadVerifier:
invalid_objects = verify_metrics.read_failed_iterations invalid_objects = verify_metrics.read_failed_iterations
total_left_objects = load_metrics.write_success_iterations - delete_success total_left_objects = load_metrics.write_success_iterations - delete_success
if invalid_objects > 0:
issues.append(f"There were {invalid_objects} verification fails (hash mismatch).")
# Due to interruptions we may see total verified objects to be less than written on writers count # Due to interruptions we may see total verified objects to be less than written on writers count
if abs(total_left_objects - verified_objects) > writers: if abs(total_left_objects - verified_objects) > writers:
issues.append( issues.append(