abb4cd5646
etcdserver: update LICENSE header
2016-05-12 20:49:40 -07:00
953a08d841
*: clean up from gosimple
2016-04-08 11:55:03 -07:00
dcaf5ef586
move store recorder to 'mock/mockstore'
2016-03-15 15:41:07 -07:00
a524d5bdb7
etcdserver: fix race in TestTriggerSnap
...
Fixes #4584
2016-02-21 22:03:35 -08:00
20461ab11a
*: fix many typos
2016-01-31 21:42:39 -08:00
384cc76299
pkg/testutil: make Recorder an interface
...
Provides two implementations of Recorder-- one that is non-blocking
like the original version and one that provides a blocking channel
to avoid busy waiting or racing in tests when no other synchronization
is available.
2016-01-05 09:39:18 -08:00
e1bf726bc1
*: split out etcdserver's test mockup objects to live in interfaces' packages
2016-01-05 09:39:13 -08:00
23bd60ccce
*: rewrite snapshot sending
2015-12-08 18:21:21 -08:00
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