Gyu-Ho Lee
|
aca2abd8fe
*: use 'io.Seek*' for go1.7+
|
7 anos atrás |
Tess Rinearson
|
39c733ebe7
wal: use path/filepath instead of path
|
7 anos atrás |
Peter Mattis
|
ab03a42f06
raft: add Ready.MustSync
|
7 anos atrás |
Anthony Romano
|
c26ebe3262
Merge pull request #6453 from vimalk78/wal-optimize-marshal-outside-lock
|
8 anos atrás |
Gyu-Ho Lee
|
f5588526cc
wal: set PageWriter offset in file encoder
|
8 anos atrás |
Vimal Kumar
|
f4ec303d1b
wal/wal.go: modified WAL.SaveSnapshot to do the Marshal before aquiring the mutex
|
8 anos atrás |
Vimal Kumar
|
064411b51c
wal/wal.go : improved coverage by testing WAL.Save which causes a WAL.cut to happen
|
8 anos atrás |
Gyu-Ho Lee
|
ccb46d2024
wal: simplify dir.Close call
|
8 anos atrás |
Anthony Romano
|
bd7107bd4b
wal: fsync directory after wal file rename
|
8 anos atrás |
Aaron Lehmann
|
af4f82228c
wal: hold file lock while renaming WAL directory on non-Windows
|
8 anos atrás |
Anthony Romano
|
f1ead43482
wal: zero out wal tail past its first zero record
|
8 anos atrás |
Aaron Lehmann
|
2b996b6038
wal: Export SegmentSizeBytes as a variable
|
8 anos atrás |
Anthony Romano
|
5991209c2d
wal: release wal locks before renaming directory on init
|
8 anos atrás |
Gyu-Ho Lee
|
6cfc03a5f9
wal: use CreateDirAll
|
8 anos atrás |
Gyu-Ho Lee
|
b4aa4607cb
wal: use bytes.Equal, other minor updates
|
8 anos atrás |
Gyu-Ho Lee
|
3243795522
wal: simplify boolean return
|
8 anos atrás |
Gyu-Ho Lee
|
4570eddc2c
wal: PrivateFileMode/DirMode as in pkg/fileutil
|
8 anos atrás |
Anthony Romano
|
39eaa37dcf
wal: warn if sync exceeds a second
|
8 anos atrás |
Anthony Romano
|
5be39d2c84
wal: don't preallocate on old tail file
|
8 anos atrás |
Anthony Romano
|
71a9d6fc8b
wal: don't warn when opening wal directory with stale tmp files
|
8 anos atrás |
Gyu-Ho Lee
|
4a5befc2de
wal: update LICENSE header
|
8 anos atrás |
Anthony Romano
|
17391336af
wal: atomically initialize wal directory
|
8 anos atrás |
Xiang Li
|
0fb7cb8b00
*: add disk operation metrics for monitoring
|
8 anos atrás |
Anthony Romano
|
bfe3a3d08e
wal: fix tail corruption
|
8 anos atrás |
Anthony Romano
|
bd832e5b0a
*: migrate Godeps to vendor/
|
8 anos atrás |
Anthony Romano
|
0df732c052
wal: pre-create segment files
|
8 anos atrás |
Anthony Romano
|
24b806d2ee
wal: preallocate WAL files with initial size equal to segment size
|
8 anos atrás |
Anthony Romano
|
aafe717f2f
fileutil: support file extending preallocate
|
8 anos atrás |
Anthony Romano
|
7397e14c0a
fileutil, wal: refactor file locking
|
8 anos atrás |
Xiang Li
|
53e7ddbc66
wal: do not call fsync when it is not necessary
|
8 anos atrás |