Repository navigation
Commit 0c4ddab
authored
fix: query execution at the time of hottier eviction (#1797)
* fix: query execution at the time of hottier eviction
query takes a guard if time range matches hottier eviction flow
skips the hottier sync cycle so query can be served from hottier
add check to skip stream related tasks for suspended tenants like -
- hottier sync
- retention task
* serve query from object store if query_guard fails
* reuse in enterprise
* reconciliation and failed-download cleanup to respect query pins
* coderabbit comments and deepsource fix
* fix issue with unguarded queries1 parent b09ab6f commit 0c4ddab
7 files changed
Lines changed: 623 additions & 42 deletions
File tree
- src
- alerts
- hottier
- query
- storage
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | 71 | | |
| |||
0 commit comments