VictoriaMetrics/app
Nikolay 93061dfa7b
app/vmselect: fixes multitenant cache init
Previously multitenant cache was inited before flag.Parse call. It
didn't allow to change cache expiration value and default value was
always used.

 This commit adds cache init at the first time cache was called.

 Also this commit adds small cache improvements:
* chore for cleanup cache, it now uses common pattern for in-place items
filtering
* fail cache request fast if item is already expired


---------
Signed-off-by: f41gh7 <nik@victoriametrics.com>
Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
2024-11-25 11:49:34 +01:00
..
victoria-logs app/vlstorage: add support for forced merge via /internal/force_merge HTTP endpoint 2024-10-15 11:49:31 +02:00
vlinsert app/vlinsert/loki: show the original request body on parse errors 2024-11-14 17:21:27 +01:00
vlogscli app/vlogscli: allow toggling wrapping long lines with \wrap_long_lines command 2024-11-14 17:21:25 +01:00
vlogsgenerator all: consistently use stringsutil.JSONString() for formatting JSON strings with fmt.* functions instead of using "%q" formatter 2024-07-17 14:01:37 +02:00
vlselect app/vlselect/logsql: add an ability to delay returning matching logs from live tailing via offset query arg 2024-11-08 17:07:57 +01:00
vlstorage lib/flagutil: rename Duration to RetentionDuration (#7284) 2024-10-17 11:18:45 -03:00
vmagent app/vmagent: respect Pushgateway protocol in multi-tenant vmagent handler (#7571) 2024-11-20 18:37:35 +01:00
vmalert vmalert: fix alert states restoration (#7624) 2024-11-22 17:38:14 +01:00
vmalert-tool app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmauth app/vmauth: properly inherit user-level options at url_map when url_prefix isnt set at the user level 2024-11-14 17:21:32 +01:00
vmbackup app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmbackupmanager all: replace old https://docs.victoriametrics.com/vmbackupmanager.html url with the new one - https://docs.victoriametrics.com/vmbackupmanager/ 2024-04-18 02:04:39 +02:00
vmctl app/vmctl: add command-line flag list to doc 2024-11-14 18:21:15 +01:00
vmgateway all: replace old https://docs.victoriametrics.com/vmgateway.html url with the new one - https://docs.victoriametrics.com/vmgateway/ 2024-04-18 02:08:53 +02:00
vminsert lib/protoparser/influx: enable batch processing by default (#7165) 2024-10-15 11:51:48 +02:00
vmrestore app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:15:22 +02:00
vmselect app/vmselect: fixes multitenant cache init 2024-11-25 11:49:34 +01:00
vmstorage Revert "lib/mergeset: add sparse indexdb cache (#7269)" 2024-11-04 10:33:22 -03:00
vmui vmui: add Raw Query tab (#7575) 2024-11-22 17:38:12 +01:00