Brandon Philips
|
86ee3e3452
|
migrate: detect version 2.0.1
Without this code a second start will crash:
```
$ ./bin/etcd -name foobar --data-dir=foobar
2015/03/18 18:06:28 starter: detect etcd version 2.0.1 in foobar
2015/03/18 18:06:28 starter: unhandled etcd version in foobar
panic: starter: unhandled etcd version in foobar
goroutine 1 [running]:
log.Panicf(0x594770, 0x25, 0x208927c70, 0x1, 0x1)
/usr/local/go/src/log/log.go:314 +0xd0
github.com/coreos/etcd/migrate/starter.checkInternalVersion(0x20889a480, 0x0, 0x0)
/Users/philips/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/migrate/starter/starter.go:160 +0xf2f
github.com/coreos/etcd/migrate/starter.StartDesiredVersion(0x20884a010, 0x3, 0x3)
/Users/philips/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/migrate/starter/starter.go:77 +0x2a9
main.main()
/Users/philips/src/github.com/coreos/etcd/gopath/src/github.com/coreos/etcd/main.go:46 +0x25e
goroutine 9 [syscall]:
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/usr/local/go/src/os/signal/signal_unix.go:27 +0x35
```
|
2015-03-18 18:09:46 -07:00 |
|
Brian Waldon
|
1c03df62a5
|
client: WaitIndex -> AfterIndex
|
2015-02-28 10:38:46 -08:00 |
|
Yicheng Qin
|
3fd9136740
|
migrate/starter: fix v2 data dir checking
|
2015-02-24 11:47:56 -08:00 |
|
Yicheng Qin
|
4228c703a7
|
Merge pull request #2341 from yichengq/326
migrate/starter: fix flag parsing
|
2015-02-19 11:02:07 -08:00 |
|
Yicheng Qin
|
10629c40e1
|
migrate/starter: fix flag parsing
|
2015-02-18 23:47:52 -08:00 |
|
Barak Michener
|
92dca0af0f
|
*: remove shadowing of variables from etcd and add travis test
We've been bitten by this enough times that I wrote a tool so that
it never happens again.
|
2015-02-17 16:31:42 -05:00 |
|
Yicheng Qin
|
1ce7f6e0d0
|
migrate/starter: fix --version output
|
2015-02-04 21:28:56 -08:00 |
|
Yicheng Qin
|
871e92ef73
|
pkg/osutil: add Unsetenv
go1.4 doesn't support static link well, so we stay in go1.3 for a while.
Implement Unsetenv in go1.3 way.
|
2015-02-04 10:29:20 -08:00 |
|
Yicheng Qin
|
d0205519a8
|
migrate/starter: unset discovery when setting initial-cluster
|
2015-02-03 18:29:52 -08:00 |
|
Yicheng Qin
|
f109020b94
|
migrate/starter: fix default version dir
|
2015-02-03 14:56:26 -08:00 |
|
Yicheng Qin
|
2d081bd3b9
|
migrate: support standby mode upgrade
|
2015-02-03 10:59:43 -08:00 |
|
Yicheng Qin
|
ec5a6e8beb
|
migrate: support start desired version
|
2015-01-30 00:35:53 -08:00 |
|