We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 461bd9d commit 827ee2dCopy full SHA for 827ee2d
Public/Src/Cache/LifetimeManager/Library/LifetimeDatabaseCreator.cs
@@ -355,6 +355,12 @@ private static async Task<Result<bool>> ProcessContentHashListAsync(
355
{
356
try
357
358
+ if (!contentHash.IsValid)
359
+ {
360
+ Tracer.Warning(context, $"Found invalid hash. Hash=[{contentHash.ToShortHash()}] CHL=[{blobName}]");
361
+ return false;
362
+ }
363
+
364
if (contentHash.IsEmptyHash() || contentHash.IsZero())
365
366
hashes.Add((contentHash, 0));
0 commit comments