mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-12 08:42:01 +08: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
|
|
}
|