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
reduce ambiguity about use memory_sequencer (#5555)
shenxingwuyingee25ada73237
diff --git a/weed/sequence/memory_sequencer.go b/weed/sequence/memory_sequencer.goindex e20c29cc73..6e879bd79c 100644--- a/weed/sequence/memory_sequencer.go+++ b/weed/sequence/memory_sequencer.go@@ -4,7 +4,7 @@ import ("sync")-// just for testing+// default Sequencertype MemorySequencer struct {counter uint64sequenceLock sync.Mutexdiff --git a/weed/server/master_server.go b/weed/server/master_server.goindex f89c9598f8..580cdfed2a 100644--- a/weed/server/master_server.go+++ b/weed/server/master_server.go@@ -59,7 +59,7 @@ type MasterServer struct {preallocateSize int64- Topo *topology.Topology+ Topo *topology.Topologyvg *topology.VolumeGrowthvolumeGrowthRequestChan chan *topology.VolumeGrowRequest@@ -347,6 +347,8 @@ func (ms *MasterServer) createSequencer(option *MasterOption) sequence.Sequencerglog.Error(err)seq = nil}+ case "raft":+ fallthroughdefault:seq = sequence.NewMemorySequencer()}