M12.4: retain read-only destination migration stages
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m25s
Foundation / checks (network) (push) Successful in 20m44s
Foundation / checks (client) (push) Successful in 21m57s
Foundation / checks (tsan) (push) Successful in 22m46s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 30m2s
Foundation / checks (postgres) (push) Canceled after 29m56s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m25s
Foundation / checks (network) (push) Successful in 20m44s
Foundation / checks (client) (push) Successful in 21m57s
Foundation / checks (tsan) (push) Successful in 22m46s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (checks) (push) Canceled after 30m2s
Foundation / checks (postgres) (push) Canceled after 29m56s
This commit is contained in:
@@ -100,6 +100,12 @@ class CellularRegionHost {
|
||||
const CellularMigrationRequest&);
|
||||
[[nodiscard]] std::expected<void, CellularPublishFailure>
|
||||
abort_migration_freeze(const persistence::Uuid& request);
|
||||
// Explicit destination staging. The ghost stays read-only until a future
|
||||
// paired publication receipt; source abort releases this pause.
|
||||
[[nodiscard]] std::expected<void, CellularPublishFailure>
|
||||
stage_migration(const persistence::CommittedCheckpoint& source,
|
||||
const persistence::FilesystemObjectStore& source_objects,
|
||||
const CellularMigrationTrace&);
|
||||
// Explicit no-tick fenced transition. Uncertain publication pauses the host.
|
||||
[[nodiscard]] std::expected<void, CellularPublishFailure> set_population_mode(bool enabled);
|
||||
[[nodiscard]] bool population_mode() const noexcept;
|
||||
@@ -228,6 +234,7 @@ class CellularRegionHost {
|
||||
bool migration_reload_{}, migration_frozen_{};
|
||||
persistence::LeaseClock::time_point migration_poll_at_{};
|
||||
std::optional<persistence::CellularMigrationPrepared> migration_request_;
|
||||
std::optional<persistence::CellularMigrationStagePrepared> migration_stage_request_;
|
||||
std::optional<persistence::Uuid> migration_abort_;
|
||||
bool interval_reload_{};
|
||||
std::optional<persistence::PopulationInterval> admitted_interval_;
|
||||
|
||||
Reference in New Issue
Block a user