influxdb/wal/entry.go

29 lines
490 B
Go

package wal
import (
"github.com/influxdb/influxdb/protocol"
)
type closeEntry struct {
confirmation chan *confirmation
// this is used for testing only
shouldBookmark bool
}
type bookmarkEntry struct {
confirmation chan *confirmation
}
type commitEntry struct {
confirmation chan *confirmation
serverId uint32
requestNumber uint32
}
type appendEntry struct {
confirmation chan *confirmation
request *protocol.Request
shardId uint32
assignSeqOnly bool
}