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
refactor(notification_kafka): `parition` -> `partition` (#3663)
Ryan Russelldfaa60266156
diff --git a/weed/replication/sub/notification_kafka.go b/weed/replication/sub/notification_kafka.goindex 951026fe12..92f7ce609a 100644--- a/weed/replication/sub/notification_kafka.go+++ b/weed/replication/sub/notification_kafka.go@@ -146,11 +146,11 @@ func (progress *KafkaProgress) saveProgress() error {return nil}-func (progress *KafkaProgress) setOffset(parition int32, offset int64) error {+func (progress *KafkaProgress) setOffset(partition int32, offset int64) error {progress.Lock()defer progress.Unlock()- progress.PartitionOffsets[parition] = offset+ progress.PartitionOffsets[partition] = offsetif int(time.Now().Sub(progress.lastSaveTime).Seconds()) > progress.offsetSaveIntervalSeconds {return progress.saveProgress()}