etcd/wal
Xiang Li b66eb3d81c wal: fix ReleaseLockTo
ReleaseLockTo should not release the lock on the WAL
segment that is right before the given index. When
restarting etcd, etcd needs to read from the WAL segment
that has a smaller index than the snapshot index.

The correct behavior is that ReleaseLockTo releases
the locks w is holding so that w only holds one lock
that has an index smaller than the given index.
2015-03-09 19:52:54 -07:00
..
walpb *: switch to line comments for copyright 2015-01-26 09:53:30 -08:00
decoder.go wal: do not race reader and writer 2015-03-05 20:19:17 -08:00
doc.go wal: support auto-cut in wal 2015-02-28 11:18:59 -08:00
encoder.go wal: do not race reader and writer 2015-03-05 20:19:17 -08:00
metrics.go *: expose wal metrics at /metrics 2015-02-28 11:06:11 -08:00
multi_readcloser.go *: switch to line comments for copyright 2015-01-26 09:53:30 -08:00
record_test.go *: switch to line comments for copyright 2015-01-26 09:53:30 -08:00
util.go migrate/starter: fix v2 data dir checking 2015-02-24 11:47:56 -08:00
util_test.go etcdserver: Refactor 2.0.1 directory rename into a proper migration 2015-02-12 11:53:19 -05:00
wal.go wal: fix ReleaseLockTo 2015-03-09 19:52:54 -07:00
wal_bench_test.go *: switch to line comments for copyright 2015-01-26 09:53:30 -08:00
wal_test.go wal: fix ReleaseLockTo 2015-03-09 19:52:54 -07:00