From 614c3380c67c4f8304f0bcdf80797e1278bec7a0 Mon Sep 17 00:00:00 2001 From: Asias He Date: Tue, 10 Dec 2024 10:49:34 +0800 Subject: [PATCH] service: Add tablet_operation.hh A tablet_operation_result struct is added to track the result of a tablet operation. --- service/tablet_operation.hh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 service/tablet_operation.hh diff --git a/service/tablet_operation.hh b/service/tablet_operation.hh new file mode 100644 index 0000000000..203833c12b --- /dev/null +++ b/service/tablet_operation.hh @@ -0,0 +1,21 @@ +// Copyright (C) 2024-present ScyllaDB +// SPDX-License-Identifier: AGPL-3.0-or-later + +#pragma once + +#include +#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; + +} +