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.

add notification log

Chris Lu70e67b7c6d91
diff --git a/weed/filer2/filer_notify.go b/weed/filer2/filer_notify.go
index e03a8d6155..7fc64a1bed 100644
--- a/weed/filer2/filer_notify.go
+++ b/weed/filer2/filer_notify.go
@@ -3,6 +3,7 @@ package filer2
import (
"github.com/chrislusf/seaweedfs/weed/notification"
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
+ "github.com/chrislusf/seaweedfs/weed/glog"
)
func (f *Filer) NotifyUpdateEvent(oldEntry, newEntry *Entry) {
@@ -17,6 +18,8 @@ func (f *Filer) NotifyUpdateEvent(oldEntry, newEntry *Entry) {
if notification.Queue != nil {
+ glog.V(3).Infof("notifying entry update %v", key)
+
notification.Queue.SendMessage(
key,
&filer_pb.EventNotification{