diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2023-12-13 12:39:54 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2023-12-13 12:39:54 -0500 |
| commit | 3c127eda69295cb306739bdd3c5ddccff6026a8d (patch) | |
| tree | 43632849c7684cab68c43a8eb2c0aeac7adffad7 /include/framework/scheduling | |
| parent | d1f3535404ec2c200dcf2628b8c5c1f92b39e797 (diff) | |
| download | dynamic-extension-3c127eda69295cb306739bdd3c5ddccff6026a8d.tar.gz | |
Refactoring: corrected a number of names and added more comments
Diffstat (limited to 'include/framework/scheduling')
| -rw-r--r-- | include/framework/scheduling/Epoch.h | 2 | ||||
| -rw-r--r-- | include/framework/scheduling/Task.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/framework/scheduling/Epoch.h b/include/framework/scheduling/Epoch.h index fc08d57..4e1b8a2 100644 --- a/include/framework/scheduling/Epoch.h +++ b/include/framework/scheduling/Epoch.h @@ -170,7 +170,7 @@ public: * isn't, return true and set a flag indicating that * there is an active merge. */ - bool prepare_merge() { + bool prepare_reconstruction() { auto old = m_active_merge.load(); if (old) { return false; diff --git a/include/framework/scheduling/Task.h b/include/framework/scheduling/Task.h index c10ed8b..16f5e58 100644 --- a/include/framework/scheduling/Task.h +++ b/include/framework/scheduling/Task.h @@ -17,9 +17,9 @@ namespace de { template <RecordInterface R, ShardInterface S, QueryInterface Q, LayoutPolicy L> -struct MergeArgs { +struct ReconstructionArgs { Epoch<R, S, Q, L> *epoch; - std::vector<MergeTask> merges; + std::vector<ReconstructionTask> merges; std::promise<bool> result; bool compaction; void *extension; |