Files
scylladb/service/tablet_operation.hh
Asias He 614c3380c6 service: Add tablet_operation.hh
A tablet_operation_result struct is added to track the result of a
tablet operation.
2025-01-17 16:12:05 +08:00

22 lines
402 B
C++

// Copyright (C) 2024-present ScyllaDB
// SPDX-License-Identifier: AGPL-3.0-or-later
#pragma once
#include <variant>
#include "gc_clock.hh"
namespace service {
struct tablet_operation_empty_result {
};
struct tablet_operation_repair_result {
gc_clock::time_point repair_time;
};
using tablet_operation_result = std::variant<tablet_operation_empty_result, tablet_operation_repair_result>;
}