Format cellular publication diagnostics
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 1m58s
Foundation / checks (tsan) (push) Successful in 8m55s
Foundation / checks (client) (push) Successful in 13m17s
Foundation / checks (network) (push) Successful in 15m14s
Foundation / checks (postgres) (push) Failing after 34m1s
Foundation / checks (checks) (push) Successful in 38m3s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 1m58s
Foundation / checks (tsan) (push) Successful in 8m55s
Foundation / checks (client) (push) Successful in 13m17s
Foundation / checks (network) (push) Successful in 15m14s
Foundation / checks (postgres) (push) Failing after 34m1s
Foundation / checks (checks) (push) Successful in 38m3s
Foundation / postgres-tools (push) Skipped
Foundation / server-image (push) Skipped
Foundation / image (push) Skipped
This commit is contained in:
@@ -300,8 +300,7 @@ CellularRegionHost::publish(const CellularBatch& batch,
|
||||
const auto grant = authority_.grant();
|
||||
if (!status_.ready || !state_ || !committed_ || !grant ||
|
||||
!authority_.may_begin_commit(LeaseClock::now()))
|
||||
return std::unexpected{
|
||||
CellularPublishFailure{CellularHostError::not_ready, {}, {}, {}}};
|
||||
return std::unexpected{CellularPublishFailure{CellularHostError::not_ready, {}, {}, {}}};
|
||||
auto candidate = replay_cellular_batch(*state_, batch);
|
||||
if (!candidate)
|
||||
return std::unexpected{
|
||||
@@ -335,10 +334,9 @@ CellularRegionHost::publish(const CellularBatch& batch,
|
||||
status_.ready = false;
|
||||
++status_.fences;
|
||||
}
|
||||
return std::unexpected{CellularPublishFailure{CellularHostError::publication,
|
||||
published.error().kind,
|
||||
published.error().store,
|
||||
published.error().object}};
|
||||
return std::unexpected{
|
||||
CellularPublishFailure{CellularHostError::publication, published.error().kind,
|
||||
published.error().store, published.error().object}};
|
||||
}
|
||||
state_ = std::move(*candidate);
|
||||
committed_ = published->committed;
|
||||
|
||||
Reference in New Issue
Block a user