unified-storage: setup rollout-operator endpoint (#111768)

* implement endpoint so that storage/search api can prepare for downscale if enabled
This commit is contained in:
Will Assis
2025-10-01 16:34:30 -04:00
committed by GitHub
parent 169bf2ce73
commit b26647e042
4 changed files with 25 additions and 3 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ func StartGrafanaEnv(t *testing.T, grafDir, cfgPath string) (string, *server.Tes
var storage sql.UnifiedStorageGrpcService
if runstore {
storage, err = sql.ProvideUnifiedStorageGrpcService(env.Cfg, env.FeatureToggles, env.SQLStore,
env.Cfg.Logger, prometheus.NewPedanticRegistry(), nil, nil, nil, nil, kv.Config{})
env.Cfg.Logger, prometheus.NewPedanticRegistry(), nil, nil, nil, nil, kv.Config{}, nil)
require.NoError(t, err)
ctx := context.Background()
err = storage.StartAsync(ctx)