mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-22 20:43:35 +08:00
reduce ambiguity about use memory_sequencer (#5555)
This commit is contained in:
@@ -59,7 +59,7 @@ type MasterServer struct {
|
||||
|
||||
preallocateSize int64
|
||||
|
||||
Topo *topology.Topology
|
||||
Topo *topology.Topology
|
||||
vg *topology.VolumeGrowth
|
||||
volumeGrowthRequestChan chan *topology.VolumeGrowRequest
|
||||
|
||||
@@ -347,6 +347,8 @@ func (ms *MasterServer) createSequencer(option *MasterOption) sequence.Sequencer
|
||||
glog.Error(err)
|
||||
seq = nil
|
||||
}
|
||||
case "raft":
|
||||
fallthrough
|
||||
default:
|
||||
seq = sequence.NewMemorySequencer()
|
||||
}
|
||||
|
Reference in New Issue
Block a user