use md5 hash for checking if key exists. (#1257)

This commit is contained in:
ahrav 2023-05-15 10:04:14 -07:00 committed by GitHub
parent 948828ba8c
commit 6db770fbe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -265,7 +265,7 @@ func (s *Source) Chunks(ctx context.Context, chunksChan chan *sources.Chunk) err
continue
}
if persistableCache.Exists(o.name) {
if persistableCache.Exists(o.md5) {
ctx.Logger().V(5).Info("skipping object, object already processed", "name", o.name)
continue
}