Aliaksandr Valialkin
|
2fc82b846e
|
lib/storage: do not pass retentionMsecs and isReadOnly args explicitly - access them via Storage arg
This makes code easier to read.
This is a follow-up after d2d30581a0
|
2022-10-24 01:32:56 +03:00 |
|
Aliaksandr Valialkin
|
5ace1587e6
|
lib/storage: re-use newTestStorage() instead of manually initializing Storage mock
This is a follow-up for d2d30581a0
|
2022-10-23 16:24:42 +03:00 |
|
Aliaksandr Valialkin
|
57ea7a3ee8
|
lib/storage: pass Storage to table and partition instead of getDeletedMetricIDs callback
This improves code readability a bit.
|
2022-10-23 16:11:02 +03:00 |
|
Aliaksandr Valialkin
|
fedfc9e686
|
lib/storage: stop background merge when storage enters read-only mode
This should prevent from `no space left on device` errors when VictoriaMetrics
under-estimates the additional disk space needed for background merge.
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2603
|
2022-06-01 14:22:12 +03:00 |
|
Aliaksandr Valialkin
|
1a237c6903
|
all: properly handle CPU limits set on the host system/container
This can reduce memory usage on systems with enabled CPU limits.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/946
|
2020-12-08 21:07:03 +02:00 |
|
Aliaksandr Valialkin
|
0db7c2b500
|
app/vmstorage: support for -retentionPeriod smaller than one month
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/173
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/17
|
2020-10-20 14:42:46 +03:00 |
|
Aliaksandr Valialkin
|
d962568e93
|
all: use %w instead of %s for wrapping errors in fmt.Errorf
This will simplify examining the returned errors such as httpserver.ErrorWithStatusCode .
See https://blog.golang.org/go1.13-errors for details.
|
2020-06-30 23:33:46 +03:00 |
|
Aliaksandr Valialkin
|
1836c415e6
|
all: open-sourcing single-node version
|
2019-05-23 00:18:06 +03:00 |
|