mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
51939efeac
master server does not need to store the sequence on disk any more 2. fix raft server's failure to init cluster during bootstrapping
10 lines
126 B
Go
10 lines
126 B
Go
package sequence
|
|
|
|
import ()
|
|
|
|
type Sequencer interface {
|
|
NextFileId(count int) (uint64, int)
|
|
SetMax(uint64)
|
|
Peek() uint64
|
|
}
|