grafana/pkg/tsdb/sqleng
Marcus Efraimsson e31b8f4d33
Chore: Remove SQL engine cache (#39254)
Fix bug with engine cache not updating after data source updated, introduced in #36635.
Removes the SQL engine cache because since #36635 we already have instance caching in place using the SDK instance manager.
This also adds support for disposing cached SQL/xorm engines before a query happens to a data source that has been updated. Done by letting the SQL engine implementing the InstanceDisposer interface.

Fixes #37299
2021-09-15 23:03:25 +02:00
..
resample_test.go SQL: Fix SQL dataframe resampling (fill mode + time intervals) (#36937) 2021-07-29 08:38:41 +02:00
resample.go SQL: Fix SQL dataframe resampling (fill mode + time intervals) (#36937) 2021-07-29 08:38:41 +02:00
sql_engine_test.go SQL: Migrate to use SDK contracts (#36635) 2021-09-07 09:35:37 +02:00
sql_engine.go Chore: Remove SQL engine cache (#39254) 2021-09-15 23:03:25 +02:00