SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix from ensure() before actual deletion, within the b2 client library
chrislu33ba88df9cbf
diff --git a/weed/replication/sink/b2sink/b2_sink.go b/weed/replication/sink/b2sink/b2_sink.goindex de7899c609..28a10b195b 100644--- a/weed/replication/sink/b2sink/b2_sink.go+++ b/weed/replication/sink/b2sink/b2_sink.go@@ -79,7 +79,14 @@ func (g *B2Sink) DeleteEntry(key string, isDirectory, deleteIncludeChunks bool,targetObject := bucket.Object(key)- return targetObject.Delete(context.Background())+ err = targetObject.Delete(context.Background())+ if err != nil {+ // b2_download_file_by_name: 404: File with such name does not exist.+ if strings.Contains(err.Error(), ": 404:") {+ return nil+ }+ }+ return err}