mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
comment
This commit is contained in:
parent
7f91a35313
commit
55c1635cee
@ -29,6 +29,7 @@ import (
|
|||||||
"github.com/coreos/etcd/wal/walpb"
|
"github.com/coreos/etcd/wal/walpb"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// We need an offset in leader election terms, because term 0 is special in 2.0.
|
||||||
const termOffset4to2 = 1
|
const termOffset4to2 = 1
|
||||||
|
|
||||||
func snapDir4(dataDir string) string {
|
func snapDir4(dataDir string) string {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user