Commit 95392bc
kafka: route a partition with a non-empty archival manifest to tiered storage
Add a structural IO gate as the highest-priority branch of
make_partition_proxy: a partition whose archival STM holds a non-empty
manifest is served via replicated_partition (local log + cloud
manifest), regardless of the cloud_topic_enabled() config flag. This
keys on partition-raft state, so it is robust to the unordered
propagation of the storage-mode flip that triggers a tiered->cloud
migration.
A native cloud topic carries an empty archival manifest and so falls
through to the cloud-topic path; cutover empties the manifest, returning
a migrated partition to the cloud-topic path where it reads its imported
extents. replicated_partition already serves the whole partition during
migration, so no composite proxy or per-fetch boundary is needed.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 7d953fa commit 95392bc
1 file changed
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
31 | 54 | | |
32 | 55 | | |
33 | 56 | | |
| |||
0 commit comments