From d83107efe588a3977c42d3e43bcbfc3e35862c59 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Mon, 18 Sep 2023 08:12:53 -0700 Subject: [PATCH] fix: weed/storage: dropped error --- weed/storage/store_ec_delete.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/weed/storage/store_ec_delete.go b/weed/storage/store_ec_delete.go index 4b24cae79..a3e028bbb 100644 --- a/weed/storage/store_ec_delete.go +++ b/weed/storage/store_ec_delete.go @@ -36,7 +36,9 @@ func (s *Store) DeleteEcShardNeedle(ecVolume *erasure_coding.EcVolume, n *needle func (s *Store) doDeleteNeedleFromAtLeastOneRemoteEcShards(ecVolume *erasure_coding.EcVolume, needleId types.NeedleId) error { _, _, intervals, err := ecVolume.LocateEcShardNeedle(needleId, ecVolume.Version) - + if err != nil { + return err + } if len(intervals) == 0 { return erasure_coding.NotFoundError }