Format M11 cellular code with clang-format 19
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m52s
Foundation / checks (client) (push) Failing after 4m25s
Foundation / checks (network) (push) Failing after 3m2s
Foundation / checks (tsan) (push) Failing after 33s
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 5m47s
Foundation / checks (postgres) (push) Canceled after 1m24s
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m52s
Foundation / checks (client) (push) Failing after 4m25s
Foundation / checks (network) (push) Failing after 3m2s
Foundation / checks (tsan) (push) Failing after 33s
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 5m47s
Foundation / checks (postgres) (push) Canceled after 1m24s
This commit is contained in:
@@ -98,11 +98,11 @@ void cellular_actions_keep_exact_retry_identity() {
|
||||
|
||||
const auto carried = queue.carry(11);
|
||||
CHECK(carried.size() == 1 && carried.front().kind == ActionKind::cellular);
|
||||
CHECK(carried.front().cellular_input == encode_cellular_action_input(
|
||||
{11, 500, 0, true, 1'000, 2'000}));
|
||||
CHECK(carried.front().cellular_input ==
|
||||
encode_cellular_action_input({11, 500, 0, true, 1'000, 2'000}));
|
||||
const auto outcome = queue.committed(carried, 3);
|
||||
CHECK(outcome.size() == 1 && outcome.front().outcome ==
|
||||
ActionOutcome{77, ActionResult::committed, 11, 3});
|
||||
CHECK(outcome.size() == 1 &&
|
||||
outcome.front().outcome == ActionOutcome{77, ActionResult::committed, 11, 3});
|
||||
CHECK(queue.admit(22, action, facts) ==
|
||||
std::optional<ActionReceipt>{ActionReceipt{77, AdmitStatus::duplicate, 10, 11}});
|
||||
CHECK(queue.admit(22, changed, facts) ==
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Profile-4 publication and recovery against the migration-backed PostgreSQL adapter.
|
||||
#include "evo/persistence/checkpoint_store.hpp"
|
||||
#include "evo/persistence/account_control_store.hpp"
|
||||
#include "evo/persistence/checkpoint_store.hpp"
|
||||
#include "evo/persistence/life_reservation_store.hpp"
|
||||
#include "evo/persistence/sha256.hpp"
|
||||
#include "evo/server/cellular_region_host.hpp"
|
||||
@@ -26,8 +26,8 @@ std::string env(const char* name) {
|
||||
return value;
|
||||
}
|
||||
auto connect_as(const std::string& user) {
|
||||
auto db = Postgres::connect(
|
||||
{env("PGHOST"), {}, env("PGPORT"), env("PGDATABASE"), user, {}, {}}, 5s);
|
||||
auto db =
|
||||
Postgres::connect({env("PGHOST"), {}, env("PGPORT"), env("PGDATABASE"), user, {}, {}}, 5s);
|
||||
CHECK(db);
|
||||
return std::move(*db);
|
||||
}
|
||||
@@ -65,8 +65,8 @@ void cellular_birth_publication_is_durable() {
|
||||
CHECK(primitive);
|
||||
auto habitat = CellularHabitat::create({key.world, key.region, 1, 1'000, 1'000, {}});
|
||||
CHECK(habitat);
|
||||
auto opening = CellularLives::create(**primitive, std::move(*habitat),
|
||||
{{1'000, 1'000}, 0, 293'150});
|
||||
auto opening =
|
||||
CellularLives::create(**primitive, std::move(*habitat), {{1'000, 1'000}, 0, 293'150});
|
||||
CHECK(opening && (*opening)->lives().empty());
|
||||
auto objects = FilesystemObjectStore::open(env("PGHOST"), key, max_cellular_lives_bytes);
|
||||
CHECK(objects);
|
||||
@@ -75,8 +75,14 @@ void cellular_birth_publication_is_durable() {
|
||||
CHECK(genesis);
|
||||
CHECK(owner->query("INSERT INTO evolution.life_allocators VALUES(9758,1000)", {}, 5s));
|
||||
const auto connect = [&]() -> std::expected<std::unique_ptr<Postgres>, PgFailure> {
|
||||
return Postgres::connect({env("PGHOST"), {}, env("PGPORT"), env("PGDATABASE"),
|
||||
env("EVO_PG_RUNTIME_USER"), {}, {}}, 5s);
|
||||
return Postgres::connect({env("PGHOST"),
|
||||
{},
|
||||
env("PGPORT"),
|
||||
env("PGDATABASE"),
|
||||
env("EVO_PG_RUNTIME_USER"),
|
||||
{},
|
||||
{}},
|
||||
5s);
|
||||
};
|
||||
CellularHostConfig config{key, 1, {}, build, {build}};
|
||||
auto made = CellularRegionHost::create(config, connect, std::move(*objects));
|
||||
@@ -86,8 +92,8 @@ void cellular_birth_publication_is_durable() {
|
||||
const auto authority = host->authority();
|
||||
CHECK(authority);
|
||||
const auto account = filled<16>(0x47);
|
||||
const auto control = claim_account_control(*runtime, key, *authority, account, 1, 1,
|
||||
20'000ms, 5s);
|
||||
const auto control =
|
||||
claim_account_control(*runtime, key, *authority, account, 1, 1, 20'000ms, 5s);
|
||||
CHECK(control);
|
||||
const auto requested = host->create_primitive_life(account, control->generation, 7);
|
||||
CHECK(requested.result == evo::network::PrimitiveLifeResult::pending &&
|
||||
@@ -99,8 +105,8 @@ void cellular_birth_publication_is_durable() {
|
||||
CellularBatch batch;
|
||||
const auto predecessor_digest = sha256(host->committed()->manifest);
|
||||
CHECK(predecessor_digest);
|
||||
batch.header = {key.world, key.region, 1, host->committed()->head.commit,
|
||||
*predecessor_digest, 0, 1};
|
||||
batch.header = {key.world, key.region, 1, host->committed()->head.commit,
|
||||
*predecessor_digest, 0, 1};
|
||||
CellularTickIntents tick;
|
||||
tick.births.push_back(reservation);
|
||||
batch.ticks.push_back(tick);
|
||||
@@ -109,25 +115,23 @@ void cellular_birth_publication_is_durable() {
|
||||
(*candidate)->lives()[0].identity.life == reservation.identity);
|
||||
auto published = host->publish(batch);
|
||||
CHECK(published && published->committed.head.sequence == 1 &&
|
||||
host->state()->snapshot() == (*candidate)->snapshot() &&
|
||||
host->queued_births().empty());
|
||||
host->state()->snapshot() == (*candidate)->snapshot() && host->queued_births().empty());
|
||||
const auto host_outcome = host->query_primitive_life(account, control->generation, 7);
|
||||
CHECK(host_outcome.result == evo::network::PrimitiveLifeResult::born &&
|
||||
host_outcome.life_identity == reservation.identity &&
|
||||
host_outcome.commit_sequence == 1);
|
||||
const auto outcome = query_primitive_life(*runtime, key, *authority, account,
|
||||
control->generation, 7, 5s);
|
||||
host_outcome.life_identity == reservation.identity && host_outcome.commit_sequence == 1);
|
||||
const auto outcome =
|
||||
query_primitive_life(*runtime, key, *authority, account, control->generation, 7, 5s);
|
||||
CHECK(outcome && outcome->has_value() && (*outcome)->published &&
|
||||
(*outcome)->published->identity == reservation.identity &&
|
||||
(*outcome)->published->born == 1);
|
||||
host->drain();
|
||||
host.reset();
|
||||
|
||||
auto restarted_objects = FilesystemObjectStore::open(env("PGHOST"), key,
|
||||
max_cellular_lives_bytes);
|
||||
auto restarted_objects =
|
||||
FilesystemObjectStore::open(env("PGHOST"), key, max_cellular_lives_bytes);
|
||||
CHECK(restarted_objects);
|
||||
auto restarted_made = CellularRegionHost::create(config, connect,
|
||||
std::move(*restarted_objects));
|
||||
auto restarted_made =
|
||||
CellularRegionHost::create(config, connect, std::move(*restarted_objects));
|
||||
CHECK(restarted_made);
|
||||
auto restarted = std::move(*restarted_made);
|
||||
CHECK(restarted->step().ready && restarted->state()->tick() == 1 &&
|
||||
@@ -145,35 +149,39 @@ void run_cellular_publication_tests() {
|
||||
{}, 5s));
|
||||
|
||||
constexpr RegionKey empty_key{9757, 1};
|
||||
auto empty_nursery = PrimitiveLives::create({empty_key.world, empty_key.region, 1, 17, {},
|
||||
{{0, 0}}});
|
||||
auto empty_nursery =
|
||||
PrimitiveLives::create({empty_key.world, empty_key.region, 1, 17, {}, {{0, 0}}});
|
||||
CHECK(empty_nursery);
|
||||
auto empty_habitat = evo::biology::CellularHabitat::create(
|
||||
{empty_key.world, empty_key.region, 1, 1'000, 1'000,
|
||||
{empty_key.world,
|
||||
empty_key.region,
|
||||
1,
|
||||
1'000,
|
||||
1'000,
|
||||
{{{0, 0}, 19, {{12'000}, {{{10}, {20}, {30}, {40}}}}}}});
|
||||
CHECK(empty_habitat);
|
||||
auto empty_opening = CellularLives::create(**empty_nursery, std::move(*empty_habitat),
|
||||
{{1'000, 1'000}, 0, 293'150});
|
||||
{{1'000, 1'000}, 0, 293'150});
|
||||
CHECK(empty_opening && (*empty_opening)->lives().empty());
|
||||
auto empty_objects = FilesystemObjectStore::open(env("PGHOST"), empty_key,
|
||||
max_cellular_lives_bytes);
|
||||
auto empty_objects =
|
||||
FilesystemObjectStore::open(env("PGHOST"), empty_key, max_cellular_lives_bytes);
|
||||
CHECK(empty_objects);
|
||||
const auto empty_commit = filled<16>(0x20);
|
||||
auto provisioned = provision_cellular_region(*owner, **empty_objects, empty_key, 1,
|
||||
**empty_opening, empty_commit, build, 5s);
|
||||
**empty_opening, empty_commit, build, 5s);
|
||||
CHECK(provisioned && provisioned->head.sequence == 0 && provisioned->head.end_tick == 0);
|
||||
auto empty_manifest = decode_manifest(provisioned->manifest);
|
||||
CHECK(empty_manifest && empty_manifest->profile == CheckpointProfile::cellular_lives_v1 &&
|
||||
empty_manifest->payload_bytes == (*empty_opening)->snapshot().size());
|
||||
auto genesis_payload = (*empty_objects)->get(
|
||||
{empty_manifest->payload_sha256, empty_manifest->payload_bytes});
|
||||
auto genesis_payload =
|
||||
(*empty_objects)->get({empty_manifest->payload_sha256, empty_manifest->payload_bytes});
|
||||
CHECK(genesis_payload);
|
||||
auto restored_genesis = restore_cellular_payload(*genesis_payload, *empty_manifest);
|
||||
CHECK(restored_genesis && (*restored_genesis)->lives().empty() &&
|
||||
(*restored_genesis)->nursery() == (*empty_opening)->nursery() &&
|
||||
(*restored_genesis)->habitat().snapshot() == (*empty_opening)->habitat().snapshot());
|
||||
auto exact_retry = provision_cellular_region(*owner, **empty_objects, empty_key, 1,
|
||||
**empty_opening, empty_commit, build, 5s);
|
||||
**empty_opening, empty_commit, build, 5s);
|
||||
CHECK(exact_retry && exact_retry->manifest == provisioned->manifest);
|
||||
CHECK(!provision_cellular_region(*owner, **empty_objects, empty_key, 1, **empty_opening,
|
||||
filled<16>(0x22), build, 5s));
|
||||
@@ -190,19 +198,18 @@ void run_cellular_publication_tests() {
|
||||
founder.account = filled<16>(0x43);
|
||||
founder.action = 7;
|
||||
CHECK((*primitive)->spawn(founder, {1, 101, 201, 301, {0}}));
|
||||
auto habitat = evo::biology::CellularHabitat::create(
|
||||
{key.world, key.region, 1, 1'000, 1'000, {}});
|
||||
auto habitat =
|
||||
evo::biology::CellularHabitat::create({key.world, key.region, 1, 1'000, 1'000, {}});
|
||||
CHECK(habitat);
|
||||
auto opening = CellularLives::create(**primitive, std::move(*habitat),
|
||||
{{1'000, 1'000}, 0, 293'150});
|
||||
auto opening =
|
||||
CellularLives::create(**primitive, std::move(*habitat), {{1'000, 1'000}, 0, 293'150});
|
||||
CHECK(opening && (*opening)->lives().size() == 1);
|
||||
|
||||
const auto payload = (*opening)->snapshot();
|
||||
const auto payload_digest = sha256(payload);
|
||||
CHECK(payload_digest);
|
||||
const auto genesis = genesis_manifest(key, 1, filled<16>(0x21), 50'000, build,
|
||||
payload.size(), *payload_digest,
|
||||
CheckpointProfile::cellular_lives_v1);
|
||||
const auto genesis = genesis_manifest(key, 1, filled<16>(0x21), 50'000, build, payload.size(),
|
||||
*payload_digest, CheckpointProfile::cellular_lives_v1);
|
||||
CHECK(genesis);
|
||||
const auto genesis_bytes = encode_manifest(*genesis);
|
||||
CHECK(genesis_bytes);
|
||||
@@ -211,8 +218,14 @@ void run_cellular_publication_tests() {
|
||||
CHECK(owner->query("SELECT evolution.provision_region_checkpoint($1::bytea)",
|
||||
std::array{hex(*genesis_bytes)}, 5s));
|
||||
const auto connect = [&]() -> std::expected<std::unique_ptr<Postgres>, PgFailure> {
|
||||
return Postgres::connect({env("PGHOST"), {}, env("PGPORT"), env("PGDATABASE"),
|
||||
env("EVO_PG_RUNTIME_USER"), {}, {}}, 5s);
|
||||
return Postgres::connect({env("PGHOST"),
|
||||
{},
|
||||
env("PGPORT"),
|
||||
env("PGDATABASE"),
|
||||
env("EVO_PG_RUNTIME_USER"),
|
||||
{},
|
||||
{}},
|
||||
5s);
|
||||
};
|
||||
CellularHostConfig config{key, 1, {}, build, {build}};
|
||||
auto made_host = CellularRegionHost::create(config, connect, std::move(*objects));
|
||||
@@ -222,8 +235,8 @@ void run_cellular_publication_tests() {
|
||||
CellularBatch batch;
|
||||
const auto predecessor_digest = sha256(host->committed()->manifest);
|
||||
CHECK(predecessor_digest);
|
||||
batch.header = {key.world, key.region, 1, host->committed()->head.commit,
|
||||
*predecessor_digest, 0, 2};
|
||||
batch.header = {key.world, key.region, 1, host->committed()->head.commit,
|
||||
*predecessor_digest, 0, 2};
|
||||
batch.ticks.resize(2);
|
||||
for (auto& tick : batch.ticks)
|
||||
tick.lives.push_back({(*opening)->lives()[0].identity.life, {}});
|
||||
@@ -238,16 +251,15 @@ void run_cellular_publication_tests() {
|
||||
CHECK(published && published->committed.head.sequence == 1 &&
|
||||
published->committed.head.end_tick == 2 &&
|
||||
host->state()->snapshot() == (**replay).snapshot());
|
||||
CHECK(host->take_finalized_actions() ==
|
||||
std::vector<FinalCellularAction>{{action, 1}});
|
||||
CHECK(host->take_finalized_actions() == std::vector<FinalCellularAction>{{action, 1}});
|
||||
host->drain();
|
||||
host.reset();
|
||||
|
||||
auto restarted_objects = FilesystemObjectStore::open(env("PGHOST"), key,
|
||||
max_cellular_lives_bytes);
|
||||
auto restarted_objects =
|
||||
FilesystemObjectStore::open(env("PGHOST"), key, max_cellular_lives_bytes);
|
||||
CHECK(restarted_objects);
|
||||
auto made_restarted = CellularRegionHost::create(config, connect,
|
||||
std::move(*restarted_objects));
|
||||
auto made_restarted =
|
||||
CellularRegionHost::create(config, connect, std::move(*restarted_objects));
|
||||
CHECK(made_restarted);
|
||||
auto restarted = std::move(*made_restarted);
|
||||
CHECK(restarted->step().ready && restarted->state()->tick() == 2 &&
|
||||
|
||||
@@ -90,8 +90,7 @@ void refusal_never_returns_partial_tick_state() {
|
||||
CHECK(result);
|
||||
CHECK(result->begin_tick == 4 && result->end_tick == 5);
|
||||
CHECK(result->lives.empty() && result->starved.size() == 1);
|
||||
CHECK(result->starved[0] ==
|
||||
CellularCorpseCandidate{2, {0, 0}, {{7}, {{{2}, {3}, {4}, {5}}}}});
|
||||
CHECK(result->starved[0] == CellularCorpseCandidate{2, {0, 0}, {{7}, {{{2}, {3}, {4}, {5}}}}});
|
||||
CHECK(result->heat_released.value == 17);
|
||||
CHECK(result->patches.empty());
|
||||
CHECK(map->patches()[0].stock == Inventory{{5}, {{{2}, {2}, {2}, {2}}}});
|
||||
|
||||
@@ -30,8 +30,7 @@ accounting::Inventory founder_price(std::uint64_t count) {
|
||||
}
|
||||
|
||||
void actions_bind_to_owned_life_and_preserve_other_inputs() {
|
||||
auto primitive = PrimitiveLives::create(
|
||||
{90, 1, 7, 17, founder_price(2), {{0, 0}, {20, 0}}});
|
||||
auto primitive = PrimitiveLives::create({90, 1, 7, 17, founder_price(2), {{0, 0}, {20, 0}}});
|
||||
CHECK(primitive);
|
||||
LifeRequest request{};
|
||||
request.account.back() = 1;
|
||||
@@ -50,8 +49,8 @@ void actions_bind_to_owned_life_and_preserve_other_inputs() {
|
||||
{{15'000, 15'000}, 30, {{10}, {{{10}, {10}, {10}, {10}}}}}}};
|
||||
auto habitat = biology::CellularHabitat::create(std::move(habitat_config));
|
||||
CHECK(habitat);
|
||||
auto state = CellularLives::create(**primitive, std::move(*habitat),
|
||||
{{20'000, 20'000}, 1, 293'150});
|
||||
auto state =
|
||||
CellularLives::create(**primitive, std::move(*habitat), {{20'000, 20'000}, 1, 293'150});
|
||||
CHECK(state && (*state)->lives().size() == 2);
|
||||
|
||||
const auto& controlled = (*state)->lives()[0];
|
||||
@@ -71,8 +70,7 @@ void actions_bind_to_owned_life_and_preserve_other_inputs() {
|
||||
CellularLifeIntent{controlled.identity.life,
|
||||
{{-3, 4}, biology::CellularPatchAddress{0, 0}}});
|
||||
CHECK(prepared->intents.lives[1] == baseline[1]);
|
||||
CHECK(prepared->actions[0] ==
|
||||
CellularActionRecord{controlled.account, 77, input});
|
||||
CHECK(prepared->actions[0] == CellularActionRecord{controlled.account, 77, input});
|
||||
|
||||
const auto guessed_input =
|
||||
network::encode_cellular_action_input({2, 0, 0, true, 15'000, 15'000});
|
||||
@@ -127,8 +125,9 @@ void actions_bind_to_owned_life_and_preserve_other_inputs() {
|
||||
|
||||
CHECK(prepare_cellular_session_tick(**state, 3, baseline, actions).error() ==
|
||||
CellularSessionBatchError::tick);
|
||||
CHECK(prepare_cellular_session_tick(**state, 2, std::span{baseline}.first(1), actions).error() ==
|
||||
CellularSessionBatchError::intents);
|
||||
CHECK(
|
||||
prepare_cellular_session_tick(**state, 2, std::span{baseline}.first(1), actions).error() ==
|
||||
CellularSessionBatchError::intents);
|
||||
|
||||
const std::array duplicate{action, action};
|
||||
CHECK(prepare_cellular_session_tick(**state, 2, baseline, duplicate).error() ==
|
||||
@@ -150,8 +149,8 @@ void builder_batches_reserved_birth_after_empty_tick() {
|
||||
CHECK(primitive);
|
||||
auto habitat = biology::CellularHabitat::create({93, 1, 1, 1'000, 1'000, {}});
|
||||
CHECK(habitat);
|
||||
auto state = CellularLives::create(**primitive, std::move(*habitat),
|
||||
{{1'000, 1'000}, 0, 293'150});
|
||||
auto state =
|
||||
CellularLives::create(**primitive, std::move(*habitat), {{1'000, 1'000}, 0, 293'150});
|
||||
CHECK(state && (*state)->lives().empty());
|
||||
persistence::RegionHead head{};
|
||||
head.frame = 1;
|
||||
|
||||
@@ -161,9 +161,8 @@ void store_rules() {
|
||||
auto found = find_region_action(*db, r.key, *lease, alice, 1, 5s);
|
||||
CHECK(found && *found == CommittedAction{131, 3, 1});
|
||||
const auto found_record = find_region_action_record(*db, r.key, *lease, alice, 1, 5s);
|
||||
CHECK(found_record && *found_record ==
|
||||
CommittedActionRecord{CommittedAction{131, 3, 1}, 1, 1,
|
||||
std::nullopt});
|
||||
CHECK(found_record &&
|
||||
*found_record == CommittedActionRecord{CommittedAction{131, 3, 1}, 1, 1, std::nullopt});
|
||||
CHECK(holds(find_region_action(*db, r.key, *lease, bob, 1, 5s),
|
||||
std::optional{CommittedAction{131, 3, 1}}));
|
||||
CHECK(holds(find_region_action(*db, r.key, *lease, alice, 2, 5s),
|
||||
|
||||
@@ -411,13 +411,15 @@ void cellular_profile() {
|
||||
CHECK(primitive);
|
||||
auto habitat = CellularHabitat::create({7, 3, 9, 1'000, 1'000, {}});
|
||||
CHECK(habitat);
|
||||
auto owner = CellularLives::create(**primitive, std::move(*habitat), {{1'000, 1'000}, 0, 293'150});
|
||||
auto owner =
|
||||
CellularLives::create(**primitive, std::move(*habitat), {{1'000, 1'000}, 0, 293'150});
|
||||
CHECK(owner && (*owner)->lives().empty() && (*owner)->tick() == 0);
|
||||
|
||||
const auto payload = (*owner)->snapshot();
|
||||
auto manifest = genesis_manifest(key, 9, filled<16>(0x02), 50000, build, payload.size(),
|
||||
filled<32>(0xA2), CheckpointProfile::cellular_lives_v1);
|
||||
CHECK(manifest && supported(*manifest) && manifest->history_profile == cellular_history_profile &&
|
||||
CHECK(manifest && supported(*manifest) &&
|
||||
manifest->history_profile == cellular_history_profile &&
|
||||
manifest->cellular_versions == cellular_v1_versions &&
|
||||
max_payload_bytes(CheckpointProfile::cellular_lives_v1) == max_cellular_lives_bytes);
|
||||
const auto encoded = encode_manifest(*manifest);
|
||||
@@ -425,9 +427,9 @@ void cellular_profile() {
|
||||
const auto restored = restore_cellular_payload(payload, *manifest);
|
||||
CHECK(restored && (*restored)->snapshot() == payload);
|
||||
CHECK(!restore_primitive_payload(payload, *manifest));
|
||||
const auto successor = successor_manifest(*manifest, filled<32>(0xA5), filled<16>(0x04),
|
||||
lease(), 1, build, payload.size(),
|
||||
filled<32>(0xA6), batch_for(1, 1));
|
||||
const auto successor =
|
||||
successor_manifest(*manifest, filled<32>(0xA5), filled<16>(0x04), lease(), 1, build,
|
||||
payload.size(), filled<32>(0xA6), batch_for(1, 1));
|
||||
CHECK(successor && supported(*successor) &&
|
||||
successor->cellular_versions == cellular_v1_versions);
|
||||
auto short_cellular_trace = *successor;
|
||||
|
||||
@@ -188,8 +188,8 @@ void cellular_publisher_adapter_rejects_malformed_requests() {
|
||||
const std::vector<std::uint8_t> empty;
|
||||
auto published = publish_cellular_checkpoint(*db, empty, empty, empty, empty, 5s);
|
||||
CHECK(failed(published, LeaseStoreError::invalid));
|
||||
auto resolved = resolve_cellular_region_commit(*db, {1, 999}, id(0xC1), empty, empty, empty,
|
||||
empty, 5s);
|
||||
auto resolved =
|
||||
resolve_cellular_region_commit(*db, {1, 999}, id(0xC1), empty, empty, empty, empty, 5s);
|
||||
CHECK(failed(resolved, LeaseStoreError::invalid));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user