summaryrefslogtreecommitdiffstats
path: root/include/util
diff options
context:
space:
mode:
authorDouglas Rumbaugh <dbr4@psu.edu>2023-09-18 13:05:44 -0400
committerDouglas Rumbaugh <dbr4@psu.edu>2023-09-18 13:05:44 -0400
commitabc8605a51537fc7b35bb0d9b1da6c724c5c6973 (patch)
treeb24509db6192b8e02e79237be986c5fcbb52667f /include/util
parent7f56949bc847b56da69c9eb3ebe081d6cf9f61c6 (diff)
downloaddynamic-extension-abc8605a51537fc7b35bb0d9b1da6c724c5c6973.tar.gz
Moved individual merge task execution into the scheduler
This change is made in anticipation of scheduling each task using a specific thread, and required some modification to the interface of ExtensionStructure. Namely, 1. ExtensionStructure now supports a get_merge_tasks() interface, which returns a list of the individual level merges that would need to be performed to complete a buffer flush of specified size. 2. merge_levels and merge_buffer have been promoted to the public interface, to allow their use within the scheduler. 3. merge_buffer has been modified to assume that the structure already can support a direct flush of the buffer into L0, it is now the responsibility of the caller to ensure that the necessary merges have already been completed prior to calling this method. Currently, preemptive tombstone compactions are non-functional, so some unit tests are failing. This will be fixed when the thread scheduling system is set up.
Diffstat (limited to 'include/util')
0 files changed, 0 insertions, 0 deletions