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.

still log, but not persisting the changes

Chris Lued98223b08dc
diff --git a/weed/filer2/filer_notify.go b/weed/filer2/filer_notify.go
index c576314662..095587038c 100644
--- a/weed/filer2/filer_notify.go
+++ b/weed/filer2/filer_notify.go
@@ -45,9 +45,7 @@ func (f *Filer) NotifyUpdateEvent(oldEntry, newEntry *Entry, deleteChunks bool)
notification.Queue.SendMessage(fullpath, eventNotification)
}
- if false {
- f.logMetaEvent(time.Now(), fullpath, eventNotification)
- }
+ f.logMetaEvent(time.Now(), fullpath, eventNotification)
}
@@ -70,6 +68,9 @@ func (f *Filer) logMetaEvent(ts time.Time, fullpath string, eventNotification *f
}
func (f *Filer) logFlushFunc(startTime, stopTime time.Time, buf []byte) {
+
+ return
+
targetFile := fmt.Sprintf("/.meta/log/%04d/%02d/%02d/%02d/%02d/%02d.%09d.log",
startTime.Year(), startTime.Month(), startTime.Day(), startTime.Hour(), startTime.Minute(),
startTime.Second(), startTime.Nanosecond())