Finish birth refusal integration and stabilize client panel checks
Foundation / checks (checks) (push) Successful in 42m5s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m24s
Foundation / checks (network) (push) Successful in 18m43s
Foundation / checks (postgres) (push) Successful in 44m0s
Foundation / checks (tsan) (push) Successful in 10m8s
Foundation / checks (client) (push) Successful in 15m13s
Foundation / postgres-tools (push) Successful in 31s
Foundation / server-image (push) Successful in 3m18s
Foundation / image (push) Successful in 3m23s
Foundation / checks (checks) (push) Successful in 42m5s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m24s
Foundation / checks (network) (push) Successful in 18m43s
Foundation / checks (postgres) (push) Successful in 44m0s
Foundation / checks (tsan) (push) Successful in 10m8s
Foundation / checks (client) (push) Successful in 15m13s
Foundation / postgres-tools (push) Successful in 31s
Foundation / server-image (push) Successful in 3m18s
Foundation / image (push) Successful in 3m23s
This commit is contained in:
@@ -1097,8 +1097,8 @@ int serve_cellular(Options& o) {
|
||||
if (!builder) {
|
||||
bridge->dropped(actions, true);
|
||||
} else {
|
||||
auto appended = builder->append(tick, baseline, actions, held_births,
|
||||
host.queued_mutations());
|
||||
auto appended = builder->append_with_birth_refusals(
|
||||
tick, baseline, actions, held_births, host.queued_mutations());
|
||||
if (!appended && !actions.empty()) {
|
||||
// ADR-0127: one account's unusable action (its life died, or it
|
||||
// names an unperceived patch) refuses only that action, never the
|
||||
@@ -1112,8 +1112,8 @@ int serve_cellular(Options& o) {
|
||||
.push_back(action);
|
||||
bridge->dropped(refused, true);
|
||||
actions = std::move(usable);
|
||||
appended = builder->append(tick, baseline, actions, held_births,
|
||||
host.queued_mutations());
|
||||
appended = builder->append_with_birth_refusals(
|
||||
tick, baseline, actions, held_births, host.queued_mutations());
|
||||
}
|
||||
if (!appended) {
|
||||
bridge->dropped(actions, true);
|
||||
@@ -1122,6 +1122,8 @@ int serve_cellular(Options& o) {
|
||||
actions.end());
|
||||
auto published = host.publish(builder->batch(), builder->actions(),
|
||||
builder->mutation_actions());
|
||||
if (published)
|
||||
host.refuse_births(builder->refused_births());
|
||||
if (!published && host.status().phase != server::HostPhase::resolving) {
|
||||
bridge->dropped(actions, true);
|
||||
std::erase_if(awaiting_outcomes, [&](const auto& action) {
|
||||
|
||||
Reference in New Issue
Block a user