Files
scylladb/service/raft/raft_timeout.hh
Avi Kivity 67cdd0d389 raft_group_registry: extract raft_timeout
It is a vocabulary term that shouldn't need the registry to be visible.
Extract it to a new header.
2024-09-28 17:25:03 +03:00

21 lines
424 B
C++

// Copyright (C) 2024-present ScyllaDB
// SPDX-License-Identifier: AGPL-3.0-or-later
#pragma once
#include <seastar/core/lowres_clock.hh>
#include <seastar/util/source_location-compat.hh>
#include "seastarx.hh"
#include <optional>
namespace service {
struct raft_timeout {
seastar::compat::source_location loc = seastar::compat::source_location::current();
std::optional<lowres_clock::time_point> value;
};
}