mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-01 21:55:50 +00:00
Fixes some typos as found by codespell run on the code. In this commit, I was hoping to fix only comments, not user-visible alerts, output, etc. Follow-up commits will take care of them. Refs: https://github.com/scylladb/scylladb/issues/16255 Signed-off-by: Yaniv Kaul <yaniv.kaul@scylladb.com>
23 lines
509 B
C++
23 lines
509 B
C++
/*
|
|
* Copyright (C) 2021-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
#pragma once
|
|
|
|
#include "gms/inet_address.hh"
|
|
#include "raft/raft.hh"
|
|
|
|
namespace service {
|
|
|
|
// Scylla specific extension for raft state machine
|
|
// Snapshot transfer is delegated to a state machine implementation
|
|
class raft_state_machine : public raft::state_machine {
|
|
public:
|
|
virtual future<> transfer_snapshot(raft::server_id from_id, raft::snapshot_descriptor snp) = 0;
|
|
};
|
|
|
|
} // end of namespace service
|