Commit 1bfeb6b
authored
[iris] Consolidate scheduling context and fix SQL cache misses (#5776)
Profile-driven cleanup of the iris-controller scheduling loop. Merges
SchedulingTickContext into SchedulingContext and deletes the
create_scheduling_context wrapper layers (Controller and Scheduler
methods, from_workers classmethod); Controller.last_scheduling_context
now backs the dashboard diagnostics RPC. Converts 19 SQL call sites to
expanding bindparam to reuse SQLAlchemy compiled statements. Drops zstd
encoder level to -1. Consolidates _building_counts into reads.py with
shared snapshots.1 parent 3a8b6b9 commit 1bfeb6b
22 files changed
Lines changed: 842 additions & 1096 deletions
File tree
- lib/iris
- src/iris
- cluster
- controller
- projections
- rpc
- tests
- cluster
- controller
- tests/integration/iris
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 40 | | |
60 | 41 | | |
61 | 42 | | |
| |||
0 commit comments