VictoriaMetrics/app/vlinsert/elasticsearch
Zakhar Bessarab dfdada055c
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-10-02 17:09:57 +02:00
..
bulk_response.qtpl app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
bulk_response.qtpl.go app/victoria-logs: initial code release 2023-07-06 17:30:05 -07:00
elasticsearch.go lib/logstorage: switch to read-only mode when running out of disk space (#4945) 2023-10-02 17:09:57 +02:00
elasticsearch_test.go lib/logstorage: switch to read-only mode when running out of disk space (#4945) 2023-10-02 17:09:57 +02:00
elasticsearch_timing_test.go lib/logstorage: switch to read-only mode when running out of disk space (#4945) 2023-10-02 17:09:57 +02:00