VictoriaMetrics/app/vlinsert/loki
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
..
loki.go app/vlinsert: follow-up for d570763c91 2023-09-19 00:02:43 +02:00
loki_json.go lib/logstorage: switch to read-only mode when running out of disk space (#4945) 2023-09-29 11:55:38 +02:00
loki_json_test.go lib/logstorage: switch to read-only mode when running out of disk space (#4945) 2023-09-29 11:55:38 +02:00
loki_json_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
loki_protobuf.go lib/logstorage: switch to read-only mode when running out of disk space (#4945) 2023-09-29 11:55:38 +02:00
loki_protobuf_test.go lib/logstorage: switch to read-only mode when running out of disk space (#4945) 2023-09-29 11:55:38 +02:00
loki_protobuf_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
push_request.pb.go app/vlinsert/loki: manually remove bloat dependecies for generate proto file (#4686) 2023-07-22 15:36:00 -07:00
push_request.proto app/vlinsert: add support of loki push protocol (#4482) 2023-07-20 10:10:55 +02:00
timestamp.go app/vlinsert: add support of loki push protocol (#4482) 2023-07-20 10:10:55 +02:00
types.go app/vlinsert: add support of loki push protocol (#4482) 2023-07-20 10:10:55 +02:00