Exemplo n.º 1
0
func createPrev(entry *wal.Entry) message.Key {
	return message.NewKey(entry.TimelineID, entry.Previous.LogID(), entry.Previous.RecordOffset())
}
Exemplo n.º 2
0
func createKey(entry *wal.Entry) message.Key {
	return message.NewKey(entry.TimelineID, entry.ReadFrom.LogID(), entry.ReadFrom.RecordOffset())
}