PR #272 review follow-up for logs.go: #272 (comment)
Cache per-minute counts by namespace, service, and severity for requests without free-text search. Merge exact partial-minute boundaries and uncached/late batches. Free-text searches match redacted bodies and must retain their raw predicate.
Validation: entries, bucket counts, and matched totals remain consistent for unfiltered/severity/service/namespace/search cases, nonaligned bounds, mixed severity spelling, late data, restart and publication changes. Measure scan rows/CPU as retained data grows.
Implementation is authorized in PR #272; this issue tracks the fix and its validation.
PR #272 review follow-up for
logs.go: #272 (comment)Cache per-minute counts by namespace, service, and severity for requests without free-text search. Merge exact partial-minute boundaries and uncached/late batches. Free-text searches match redacted bodies and must retain their raw predicate.
Validation: entries, bucket counts, and matched totals remain consistent for unfiltered/severity/service/namespace/search cases, nonaligned bounds, mixed severity spelling, late data, restart and publication changes. Measure scan rows/CPU as retained data grows.
Implementation is authorized in PR #272; this issue tracks the fix and its validation.