Update etcd Godeps to 3.0.13
This commit is contained in:
7
vendor/github.com/coreos/etcd/mvcc/kvstore.go
generated
vendored
7
vendor/github.com/coreos/etcd/mvcc/kvstore.go
generated
vendored
@@ -408,6 +408,13 @@ func (s *store) restore() error {
|
||||
s.currentRev = rev
|
||||
}
|
||||
|
||||
// keys in the range [compacted revision -N, compaction] might all be deleted due to compaction.
|
||||
// the correct revision should be set to compaction revision in the case, not the largest revision
|
||||
// we have seen.
|
||||
if s.currentRev.main < s.compactMainRev {
|
||||
s.currentRev.main = s.compactMainRev
|
||||
}
|
||||
|
||||
for key, lid := range keyToLease {
|
||||
if s.le == nil {
|
||||
panic("no lessor to attach lease")
|
||||
|
Reference in New Issue
Block a user