feat(lifecycle): qualify portable maturing wildlife transfers
Foundation / checks (ecs) (push) Successful in 2m26s
Foundation / checks (deploy) (push) Successful in 4m12s
Foundation / checks (network) (push) Successful in 20m57s
Foundation / checks (client) (push) Successful in 22m9s
Foundation / checks (tsan) (push) Successful in 28m49s
Foundation / checks (postgres) (push) Successful in 1h5m2s
Foundation / checks (checks) (push) Successful in 1h17m42s
Foundation / postgres-tools (push) Successful in 1m10s
Foundation / server-image (push) Successful in 3m51s
Foundation / image (push) Successful in 4m54s
Foundation / checks (ecs) (push) Successful in 2m26s
Foundation / checks (deploy) (push) Successful in 4m12s
Foundation / checks (network) (push) Successful in 20m57s
Foundation / checks (client) (push) Successful in 22m9s
Foundation / checks (tsan) (push) Successful in 28m49s
Foundation / checks (postgres) (push) Successful in 1h5m2s
Foundation / checks (checks) (push) Successful in 1h17m42s
Foundation / postgres-tools (push) Successful in 1m10s
Foundation / server-image (push) Successful in 3m51s
Foundation / image (push) Successful in 4m54s
This commit is contained in:
@@ -86,8 +86,8 @@ bool cuts(const CheckpointManifest& s, const CheckpointManifest& d,
|
||||
const auto profile = t.representation == server::CellularMigrationRepresentation::individual
|
||||
? CheckpointProfile::cellular_lives_v1
|
||||
: CheckpointProfile::cellular_population_v1;
|
||||
return supported(s) && supported(d) && encode_manifest(s) && encode_manifest(d) &&
|
||||
s.cellular_versions == cellular_v10_versions &&
|
||||
return t.format_version == 1 && supported(s) && supported(d) && encode_manifest(s) &&
|
||||
encode_manifest(d) && s.cellular_versions == cellular_v10_versions &&
|
||||
d.cellular_versions == cellular_v10_versions && s.profile == profile &&
|
||||
d.profile == profile && s.sequence > 0 && d.sequence > 0 &&
|
||||
s.key == RegionKey{t.world, t.request.source.region} &&
|
||||
@@ -145,7 +145,8 @@ std::expected<CellularMigrationFreeze, CellularMigrationFailure>
|
||||
retry_cellular_migration_freeze(Postgres& db, const LeaseGrant& lease,
|
||||
const CellularMigrationPrepared& prepared, milliseconds timeout) {
|
||||
const auto trace = server::decode_migration_trace(prepared.trace);
|
||||
if (!trace || prepared.key != RegionKey{trace->world, trace->request.source.region} ||
|
||||
if (!trace || trace->format_version != 1 ||
|
||||
prepared.key != RegionKey{trace->world, trace->request.source.region} ||
|
||||
lease.frame != trace->frame)
|
||||
return std::unexpected(failed(PublicationError::candidate));
|
||||
const std::array<std::string, 5> args{std::to_string(prepared.key.world),
|
||||
@@ -340,7 +341,8 @@ retry_cellular_migration_stage(Postgres& db, const LeaseGrant& lease,
|
||||
const CellularMigrationStagePrepared& prepared,
|
||||
milliseconds timeout) {
|
||||
const auto trace = server::decode_migration_trace(prepared.trace);
|
||||
if (!trace || prepared.key != RegionKey{trace->world, trace->request.destination.region} ||
|
||||
if (!trace || trace->format_version != 1 ||
|
||||
prepared.key != RegionKey{trace->world, trace->request.destination.region} ||
|
||||
lease.frame != trace->frame || prepared.ghost.sha256 == Sha256Digest{} ||
|
||||
prepared.ghost.bytes == 0)
|
||||
return std::unexpected(stage_failed(PublicationError::candidate));
|
||||
|
||||
Reference in New Issue
Block a user