VictoriaMetrics/lib/mergeset
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
..
block_header.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
block_stream_reader_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
block_stream_reader.go lib/storage: mention source parts on merge error 2019-06-24 14:09:46 +03:00
block_stream_writer.go lib/fs: consistency renaming SyncPath -> MustSyncPath, since it doesnt return error 2019-06-11 23:13:45 +03:00
encoding_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
encoding_timing_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
encoding.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
inmemory_part.go all: add vm_data_size_bytes metrics for easy monitoring of on-disk data size and on-disk inverted index size 2019-07-04 19:43:04 +03:00
merge_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
merge.go lib/storage: mention source parts on merge error 2019-06-24 14:09:46 +03:00
metaindex_row.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
part_header.go lib/fs: atomically create file with the given contents on WriteFileAtomically 2019-08-12 15:02:04 +03:00
part_search_test.go all: add vm_data_size_bytes metrics for easy monitoring of on-disk data size and on-disk inverted index size 2019-07-04 19:43:04 +03:00
part_search.go lib/mergeset: make fmt 2019-06-29 14:25:46 +03:00
part.go all: add vm_data_size_bytes metrics for easy monitoring of on-disk data size and on-disk inverted index size 2019-07-04 19:43:04 +03:00
table_search_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
table_search_timing_test.go all: fix misspellings 2019-05-25 21:51:24 +03:00
table_search.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
table_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
table.go lib/fs: atomically create file with the given contents on WriteFileAtomically 2019-08-12 15:02:04 +03:00