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 |
|
Aliaksandr Valialkin
|
ba8195c58e
|
all: consistency renaming: bytesSize -> sizeBytes
|
2019-07-10 00:47:42 +03:00 |
|
Aliaksandr Valialkin
|
41f512af1c
|
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 |
|
Aliaksandr Valialkin
|
b6ea1a7d5e
|
lib/mergeset: make fmt
|
2019-06-29 14:25:46 +03:00 |
|
Aliaksandr Valialkin
|
2257dcd278
|
lib/mergeset: speed up binarySearchKey by skipping the first item during binary search
|
2019-06-29 13:49:32 +03:00 |
|
Aliaksandr Valialkin
|
fb9358635d
|
lib/storage: mention source parts on merge error
This should improve determining broken source part.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/76
|
2019-06-24 14:09:46 +03:00 |
|
Aliaksandr Valialkin
|
18d6f293f7
|
lib/fs: consolidate *RemoveAll* funcs into a single MustRemoveAll func
The func syncs parent dir in order to persist directory removal
in the event of power loss
|
2019-06-12 01:55:18 +03:00 |
|
Aliaksandr Valialkin
|
51e2e255a6
|
lib/fs: consistency renaming SyncPath -> MustSyncPath, since it doesnt return error
|
2019-06-11 23:13:45 +03:00 |
|
Aliaksandr Valialkin
|
b491045a4b
|
lib/{storage,mergeset}: sync filenames inside part when finalizing the part
Fixes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/63
|
2019-06-11 21:51:19 +03:00 |
|
Aliaksandr Valialkin
|
3437c30180
|
all: try hard removing directory with contents
Fixes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/61
|
2019-06-11 01:58:08 +03:00 |
|
Aliaksandr Valialkin
|
bdf696ef18
|
all: fix misspellings
|
2019-05-25 21:51:24 +03:00 |
|
Aliaksandr Valialkin
|
1836c415e6
|
all: open-sourcing single-node version
|
2019-05-23 00:18:06 +03:00 |
|