M12.4: atomically publish and recover biological migration pairs
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m21s
Foundation / checks (network) (push) Successful in 20m51s
Foundation / checks (client) (push) Successful in 22m2s
Foundation / checks (tsan) (push) Successful in 22m59s
Foundation / checks (postgres) (push) Successful in 53m40s
Foundation / checks (checks) (push) Successful in 1h7m19s
Foundation / postgres-tools (push) Successful in 29s
Foundation / server-image (push) Successful in 38s
Foundation / image (push) Successful in 4m31s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m21s
Foundation / checks (network) (push) Successful in 20m51s
Foundation / checks (client) (push) Successful in 22m2s
Foundation / checks (tsan) (push) Successful in 22m59s
Foundation / checks (postgres) (push) Successful in 53m40s
Foundation / checks (checks) (push) Successful in 1h7m19s
Foundation / postgres-tools (push) Successful in 29s
Foundation / server-image (push) Successful in 38s
Foundation / image (push) Successful in 4m31s
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include "evo/persistence/cellular_migration_store.hpp"
|
||||
#include "evo/persistence/checkpoint_store.hpp"
|
||||
#include "evo/persistence/population_checkpoint_store.hpp"
|
||||
#include "evo/persistence/sha256.hpp"
|
||||
@@ -553,6 +554,14 @@ verify_cellular_no_tick_checkpoint(Postgres& db, const FilesystemObjectStore& ob
|
||||
m.frame != committed.head.frame || lease.frame != m.frame || m.sequence == 0 ||
|
||||
m.begin_tick != m.end_tick || m.batch != BatchDigests{})
|
||||
return fail(RecoveryError::manifest);
|
||||
if (m.cellular_versions == cellular_v10_versions) {
|
||||
auto paired =
|
||||
verify_cellular_migration_checkpoint(db, objects, lease, committed, payload, timeout);
|
||||
if (!paired)
|
||||
return std::unexpected(paired.error());
|
||||
if (*paired)
|
||||
return {};
|
||||
}
|
||||
auto evidence = load_cellular_profile_migration(db, m.key, lease, m.commit, timeout);
|
||||
if (!evidence)
|
||||
return std::unexpected(RecoveryFailure{RecoveryError::store, evidence.error()});
|
||||
|
||||
Reference in New Issue
Block a user