Files
scylladb/repair/incremental.hh
Asias He 1bf59ebba0 repair: Add incremental helpers
This adds the helpers which are needed by both repair and compaction to
add incremental repair support.
2025-08-11 10:10:08 +08:00

26 lines
515 B
C++

/*
* Copyright (C) 2025-present ScyllaDB
*/
/*
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
*/
#pragma once
#include "sstables/sstables.hh"
#include "sstables/sstable_set.hh"
#include <seastar/core/shared_ptr.hh>
#include "sstables/shared_sstable.hh"
struct incremental_repair_meta {
lw_shared_ptr<sstables::sstable_set> sst_set;
int64_t sstables_repaired_at = 0;
};
namespace repair {
bool is_repaired(int64_t sstables_repaired_at, const sstables::shared_sstable& sst);
}