Commit dfd6695
cluster: install the eviction STM on cloud-topic partitions
Drop the cloud_topic_enabled() guard from log_eviction_stm_factory so the
eviction STM is installed on cloud-topic partitions too. A partition migrating
from tiered storage is still served from its local log + archival manifest and
must keep supporting prefix truncation (DeleteRecords) while migrating; the
trigger flips storage_mode to cloud without reconstructing the partition, and a
still-migrating partition is reconstructed cloud-mode on restart/recovery, so
the STM must already be present. On a native cloud topic it is an inert
passenger. Subsequent integration tests will provide coverage.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 52b9849 commit dfd6695
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
388 | | - | |
389 | | - | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
390 | 396 | | |
391 | 397 | | |
392 | 398 | | |
| |||
0 commit comments