VictoriaMetrics/app/vlinsert/elasticsearch
Zakhar Bessarab 8a23d08c21
lib/logstorage: switch to read-only mode when running out of disk space (#4945)
* lib/logstorage: switch to read-only mode when running out of disk space

Added support of `--storage.minFreeDiskSpaceBytes` command-line flag to allow graceful handling of running out of disk space at `--storageDataPath`.

See: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4737
Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>

* lib/logstorage: fix error handling logic during merge

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>

* lib/logstorage: fix log level

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>

---------

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
Co-authored-by: Nikolay <nik@victoriametrics.com>
2023-09-29 11:55:38 +02:00
..
bulk_response.qtpl app/victoria-logs: initial code release 2023-06-19 22:55:12 -07:00
bulk_response.qtpl.go app/victoria-logs: initial code release 2023-06-19 22:55:12 -07:00
elasticsearch_test.go lib/logstorage: switch to read-only mode when running out of disk space (#4945) 2023-09-29 11:55:38 +02:00
elasticsearch_timing_test.go lib/logstorage: switch to read-only mode when running out of disk space (#4945) 2023-09-29 11:55:38 +02:00
elasticsearch.go lib/logstorage: switch to read-only mode when running out of disk space (#4945) 2023-09-29 11:55:38 +02:00