VictoriaMetrics/lib/fs
Aliaksandr Valialkin 5d8d110010 lib/fs: atomically create file with the given contents on WriteFileAtomically
This should prevent from `transaction` and `metadata.json` files corruption
on unclean shutdown such as OOM, `kill -9`, power loss, etc.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/148
2019-08-12 15:02:55 +03:00
..
fs.go lib/fs: atomically create file with the given contents on WriteFileAtomically 2019-08-12 15:02:55 +03:00