From d28f2cfcd4249fc7d984762a326e3f2d6dcba7dc Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Thu, 13 Feb 2025 18:13:33 -0500 Subject: progress towards resolving asynch structure merges --- include/util/types.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/util') diff --git a/include/util/types.h b/include/util/types.h index 084bf4b..6e8fd69 100644 --- a/include/util/types.h +++ b/include/util/types.h @@ -21,6 +21,7 @@ #include #include #include +#include namespace de { @@ -81,6 +82,14 @@ enum class ReconstructionType { Compact /* the merging of shards on one level */ }; + +template +struct reconstruction_results { + std::shared_ptr new_shard; + std::vector> source_shards; + size_t target_level; +}; + typedef struct ReconstructionTask { std::vector sources = {}; level_index target = 0; -- cgit v1.2.3