Skip to content

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.

reset last error

chrislu4e3701df77aa
diff --git a/weed/mq/client/pub_client/scheduler.go b/weed/mq/client/pub_client/scheduler.go
index c32343e0da..03377d6533 100644
--- a/weed/mq/client/pub_client/scheduler.go
+++ b/weed/mq/client/pub_client/scheduler.go
@@ -241,6 +241,7 @@ func (p *TopicPublisher) doConfigureTopic() (err error) {
return err
})
if err == nil {
+ lastErr = nil
return nil
} else {
lastErr = fmt.Errorf("%s: %v", brokerAddress, err)