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
restart replication if RabbitMQ connection closed https://github.com/google/go-cloud/issues/2958
Konstantin Lebedev0cfed8c3cb8c
diff --git a/docker/notification.toml b/docker/compose/notification.tomlsimilarity index 100%rename from docker/notification.tomlrename to docker/compose/notification.tomldiff --git a/docker/replication.toml b/docker/compose/replication.tomlsimilarity index 100%rename from docker/replication.tomlrename to docker/compose/replication.tomldiff --git a/weed/replication/sub/notification_gocdk_pub_sub.go b/weed/replication/sub/notification_gocdk_pub_sub.goindex 413c0e3cf1..1d7fe520bc 100644--- a/weed/replication/sub/notification_gocdk_pub_sub.go+++ b/weed/replication/sub/notification_gocdk_pub_sub.go@@ -113,6 +113,10 @@ func (k *GoCDKPubSubInput) Initialize(configuration util.Configuration, prefix sfunc (k *GoCDKPubSubInput) ReceiveMessage() (key string, message *filer_pb.EventNotification, onSuccessFn func(), onFailureFn func(), err error) {msg, err := k.sub.Receive(context.Background())if err != nil {+ var conn *amqp.Connection+ if k.sub.As(&conn) && conn.IsClosed() {+ glog.Fatalln(err)+ }return}onFailureFn = func() {