Files
scylladb/service/strong_consistency/state_machine.hh
Avi Kivity 0ae22a09d4 LICENSE: Update to version 1.1
Updated terms of non-commercial use (must be a never-customer).
2026-04-12 19:46:33 +03:00

34 lines
651 B
C++

/*
* Copyright (C) 2025-present ScyllaDB
*/
/*
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
*/
#pragma once
#include "service/raft/raft_state_machine.hh"
#include "mutation/frozen_mutation.hh"
#include "locator/tablets.hh"
namespace db {
class system_keyspace;
}
namespace service {
class migration_manager;
}
namespace service::strong_consistency {
struct raft_command {
frozen_mutation mutation;
};
std::unique_ptr<raft_state_machine> make_state_machine(locator::global_tablet_id tablet,
raft::group_id gid,
replica::database& db,
service::migration_manager& mm,
db::system_keyspace& sys_ks);
}