etcd/wal
Aaron Lehmann 2b996b6038 wal: Export SegmentSizeBytes as a variable
In test situations, it's useful to create smaller than usual WAL files
to test rotation and to avoid the overhead of preallocation on old-style
filesystems that don't handle it efficiently. This commit changes
segmentSizeBytes to an exported variable so that tests can override it
from an init() function.
2016-08-09 15:38:30 -07:00
..
walpb *: regenerate proto with latest grpc-gateway 2016-07-27 13:21:03 -07:00
decoder.go wal: update LICENSE header 2016-05-12 20:50:04 -07:00
doc.go wal: update LICENSE header 2016-05-12 20:50:04 -07:00
encoder.go wal: minor fixes 2016-06-06 09:43:19 -07:00
file_pipeline.go wal: PrivateFileMode/DirMode as in pkg/fileutil 2016-06-10 15:20:57 -07:00
metrics.go wal: update LICENSE header 2016-05-12 20:50:04 -07:00
record_test.go wal: update LICENSE header 2016-05-12 20:50:04 -07:00
repair.go wal: PrivateFileMode/DirMode as in pkg/fileutil 2016-06-10 15:20:57 -07:00
repair_test.go wal: update LICENSE header 2016-05-12 20:50:04 -07:00
util.go wal: don't warn when opening wal directory with stale tmp files 2016-05-31 06:25:23 -07:00
wal.go wal: Export SegmentSizeBytes as a variable 2016-08-09 15:38:30 -07:00
wal_bench_test.go wal: use bytes.Equal, other minor updates 2016-06-13 01:33:53 -07:00
wal_test.go wal: use bytes.Equal, other minor updates 2016-06-13 01:33:53 -07:00