Commit 4a07020
committed
storage: admit tiered_cloud partitions to space management
tiered_cloud local log segments were never reclaimed by space
management, so a saturating produce workload fills local disk and
cascades to KAFKA_STORAGE_ERROR while legacy tiered storage stays
bounded. The reclaim executor (ctp_stm) and the offset channel
(compute_gc_offset returning a pinned _cloud_gc_offset) already exist;
cloud topics were only gated out of the eviction-policy decision side.
Relax the four is_cloud_retention_active / remote_partition gates to
admit tiered_cloud partitions, bounded by the reconciled L1 offset
(max_removable). Spike for bench validation; the _cloud_gc_offset
clear/refresh semantics for ctp_stm still need work.1 parent 3103408 commit 4a07020
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
293 | 299 | | |
294 | 300 | | |
295 | 301 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4279 | 4279 | | |
4280 | 4280 | | |
4281 | 4281 | | |
4282 | | - | |
| 4282 | + | |
4283 | 4283 | | |
4284 | 4284 | | |
4285 | 4285 | | |
| |||
4313 | 4313 | | |
4314 | 4314 | | |
4315 | 4315 | | |
4316 | | - | |
| 4316 | + | |
4317 | 4317 | | |
4318 | 4318 | | |
4319 | 4319 | | |
| |||
4338 | 4338 | | |
4339 | 4339 | | |
4340 | 4340 | | |
4341 | | - | |
| 4341 | + | |
4342 | 4342 | | |
4343 | 4343 | | |
4344 | 4344 | | |
| |||
0 commit comments