From 6c906c94e1eea6d4356b8c99b93da39029e8d95d Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Fri, 17 Jan 2025 17:28:50 -0500 Subject: Progress --- include/framework/scheduling/Task.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'include/framework/scheduling/Task.h') diff --git a/include/framework/scheduling/Task.h b/include/framework/scheduling/Task.h index 7242bef..1ab35d2 100644 --- a/include/framework/scheduling/Task.h +++ b/include/framework/scheduling/Task.h @@ -23,14 +23,19 @@ namespace de { +enum class ReconstructionPriority { + FLUSH = 0, + CMPCT = 1, + MAINT = 2 +}; + template QueryType> struct ReconstructionArgs { typedef typename ShardType::RECORD RecordType; - Epoch *epoch; + std::atomic>> version; ReconstructionVector tasks; - std::promise result; - bool compaction; void *extension; + ReconstructionPriority priority; }; template Q, typename DE> struct QueryArgs { -- cgit v1.2.3