VictoriaMetrics/lib
Aliaksandr Valialkin 73f866d874 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:04 +03:00
..
auth all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
buildinfo all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
bytesutil lib/prompb: remove superflouos bytes copying in ReadSnappy 2019-06-18 21:02:02 +03:00
consts all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
decimal lib/decimal: modernize tests a bit 2019-07-31 21:09:54 +03:00
encoding lib/encoding/zstd: go fmt 2019-07-25 01:37:57 +03:00
filestream all: initial stubs for Windows support; see https://github.com/VictoriaMetrics/VictoriaMetrics/issues/70 2019-06-20 20:07:41 +03:00
flagutil lib/flagutil: add NewArray helper func 2019-06-18 10:44:09 +03:00
fs lib/fs: atomically create file with the given contents on WriteFileAtomically 2019-08-12 15:02:04 +03:00
handshake all: small updates after PR #114 2019-07-24 17:43:43 +03:00
httpserver lib/httpserver: add -http.disableResponseCompression flag, which may help saving CPU resources at the cost of higher network bandwidth usage 2019-05-24 12:20:36 +03:00
logger all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
memory lib/memory: attempt #3 to determine memory limit for LXC container 2019-07-01 14:01:57 +03:00
mergeset lib/fs: atomically create file with the given contents on WriteFileAtomically 2019-08-12 15:02:04 +03:00
netutil lib/netutil: do not count timeouts as network errors 2019-07-15 23:06:13 +03:00
procutil lib/procutil: typo fix in comment to WaitForSigterm 2019-06-03 16:54:37 +03:00
prompb lib/prompb: remove superflouos bytes copying in ReadSnappy 2019-06-18 21:02:02 +03:00
storage lib/fs: atomically create file with the given contents on WriteFileAtomically 2019-08-12 15:02:04 +03:00
syncwg all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
tenantmetrics app/vminsert: split vm_rows_inserted_total into per-(accountID, projectID) metrics 2019-06-07 22:11:20 +03:00
timerpool lib/timerpool: use timer pool in concurrency limiters 2019-05-28 17:30:10 +03:00