Storage: Add mode reconciliation for modes 1 and 2 (#87919)

* Add skeleton implementation for mode reconciliation between 1 and 2
* Track mode for each dual writer
* Add test for setting dual writer
* Include context when setting dual writing mode

---------

Co-authored-by: Dan Cech <dcech@grafana.com>
This commit is contained in:
Arati R
2024-05-23 00:12:46 +02:00
committed by GitHub
parent cac40795a5
commit 0ffc4c441b
8 changed files with 165 additions and 5 deletions

View File

@@ -77,6 +77,7 @@ allow = [
"github.com/grafana/grafana/pkg/apiserver",
"github.com/grafana/grafana/pkg/services/apiserver/utils",
"github.com/grafana/grafana/pkg/services/featuremgmt",
"github.com/grafana/grafana/pkg/infra/kvstore",
]
deny = [
{ pkg = "github.com/grafana/grafana/pkg", desc = "apiserver is not allowed to import grafana core" }