2b8abeb093
*: remove migration related stuff from 2.2
2015-08-01 19:37:20 +08:00
e0f9796653
etcdserver: use leveled logging
...
Leveled logging for etcdserver pkg.
2015-06-09 13:53:07 -07:00
f2905f2828
etcdserver: remove unnecessary around detect datadir
...
The log is super unhelpful. When I have a 2.1.0 etcd, it prints out
`2.0.1 vaild dir`. I have no idea why the data dir of a 2.1.0 etcd is
2.0.1.
2015-05-12 22:06:42 -07:00
0b9a318e68
etcdserver: make the wal repairing logic clear
2015-03-29 21:10:28 -07:00
1231f82f22
etcdserver: save snapshot into wal first
2015-03-29 14:23:05 -07:00
8b4eed29e5
wal: fix the unexpectedEOF error in the last wal.
...
It is safe to repair the unexpectedEOF error in the last wal. raft
will not send out message before the entry successfully comitted
into wal. Thus we can safely truncate the last entry in the wal
to repair.
2015-03-28 21:08:14 -07:00
5e0077cc0c
etcdserver: print out extra files in data dir instead of erroring
2015-03-24 18:56:22 -07:00
86429264fb
wal: support auto-cut in wal
...
WAL should control the cut logic itself. We want to do falloc to
per allocate the space for a segmented wal file at the beginning
and cut it when it size reaches the limit.
2015-02-28 11:18:59 -08:00
fade9b6065
etcdserver: Refactor 2.0.1 directory rename into a proper migration
...
fix all instances
fix detection test
2015-02-12 11:53:19 -05:00
f1ed69e883
*: switch to line comments for copyright
...
Build tags are not compatible with block comments.
Also adds copyright header to a few places it was missing.
2015-01-26 09:53:30 -08:00
84f62f21ee
wal: record and check snapshot
2015-01-06 16:27:40 -08:00
69444b6bba
etcdserver: cleanup server.go
2014-12-25 21:37:20 -08:00
f43bc809b9
etcdserver: cleanup wal upgrade
2014-12-24 22:02:46 -08:00
ea94d19147
*: lock the in using files; do not purge locked the wal files
2014-12-14 19:27:22 -08:00