Fix Telemetry: Tasks are serialized to the wrong store when using separate stores for telemetry and data

This commit is contained in:
Maurus Decimus
2026-07-20 11:35:46 +02:00
parent 3cc348726b
commit 2553d8ee4c
5 changed files with 59 additions and 18 deletions

View File

@@ -293,7 +293,7 @@ impl SearchIndexTask for Server {
pub(crate) async fn reindex_telemetry(server: &Server) -> trc::Result<()> {
let mut spans = Vec::new();
server
.store()
.tracing_store()
.iterate(
IterateParams::new(
ValueKey::from(ValueClass::Telemetry(TelemetryClass::Span(0))),