Gyuho Lee
ef1d332298
etcdserver/api/snap: add v3 snapshot fsync metrics
...
etcd_snap_db_fsync_duration_seconds_count
etcd_snap_db_save_total_duration_seconds_bucket
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-08-28 14:16:05 -07:00
Anthony Romano
8c3c1b4a9c
*: use filepath.Join for files
2017-03-23 09:53:56 -07:00
Gyu-Ho Lee
ef44f71da9
*: update LICENSE header
2016-05-12 20:51:48 -07:00
Xiang Li
98dbdd5fbb
*: simplify network metrics
2016-05-09 22:37:12 -07:00
Ajit Yagaty
8b6de5f85d
fileutil: Sync on HFS/OSX needs to be handled differently.
...
A call file.Sync on OSX doesn't guarantee actual persistence on
physical drive media as the data can be cached in physical drive's
buffers. Hence calls to file.Sync need to be replaced with
fcntl(F_FULLFSYNC).
2016-04-18 21:49:04 -07:00
Xiang Li
994333e720
*: record the number of bytes of snapshot sent/received
2016-02-16 16:08:26 -08:00
Xiang Li
191c5ef9cb
snap: call fsync before close db file
2015-12-22 22:43:05 -08:00
Xiang Li
23bd60ccce
*: rewrite snapshot sending
2015-12-08 18:21:21 -08:00