summaryrefslogtreecommitdiffstats
path: root/include/framework/InternalLevel.h
Commit message (Collapse)AuthorAgeFilesLines
* Bugfixes for tieringDouglas Rumbaugh2023-09-201-2/+6
| | | | | | | | | | | | Fixed a few issues that manifested during the tiering tests, 1) When a version is copied, it now contains copies of the levels, not just pointers (the levels themselves still hold pointers to the shards, though). 2) Ensure that tasks are scheduled with the correct timestamp, they were originally being scheduled backwards. The get_merge_tasks() method already returns them in the correct order, so reversing them again put it in the wrong order.
* The scheduler now spawns a seperate merge threadDouglas Rumbaugh2023-09-181-3/+36
| | | | | | | | | | | Merges are now executed from a seperate thread within the scheduler that wakes up via condition variables when new merge tasks are scheduled. In addition, tombstone limits are now enforced by the scheduler, with new merges being scheduled as needed. There are still a few tests failing, notably the zero tombstones in the last run invarient is not holding under tiering with tombstones. Need to look into that yet.
* Moved individual merge task execution into the schedulerDouglas Rumbaugh2023-09-181-0/+4
| | | | | | | | | | | | | | | | | | | | 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.
* Began re-architecting the project for concurrency supportDouglas Rumbaugh2023-09-131-2/+6
| | | | | The project is now in a state where it builds, but it probably has a lot of bugs still.
* Fixed bug(s) in tagging-based deletesDouglas B. Rumbaugh2023-06-091-0/+1
|
* Build changes and interface cleanupDouglas B. Rumbaugh2023-06-091-1/+1
| | | | | | | | | | Renamed the get_record_cnt() functions to get_record_count() for consistency, dropped references to SSIs, and added openmp build flags for PGM related targets. Also adjusted dynamic_extension_tests.inc to fail when an erase fails during the static structure testing as part of debugging a delete cancellation problem under leveling.
* General header/file cleanupDouglas Rumbaugh2023-06-071-2/+0
|
* InternalLevel: bugfix when building under taggingDouglas Rumbaugh2023-06-071-1/+1
|
* Fixed InternalLevel memory leakDouglas Rumbaugh2023-05-291-33/+56
|
* Adjusted the way that Wrapping records works to clean up interfacesDouglas Rumbaugh2023-05-291-3/+7
|
* Tests and bugfixes for frameworkDouglas Rumbaugh2023-05-291-27/+27
|
* More updates/restructuringDouglas Rumbaugh2023-05-221-14/+25
|
* Progress towards generalization of shard interfaceDouglas Rumbaugh2023-05-221-122/+40
|
* Started implementing shard interface (not finished yet)Douglas Rumbaugh2023-05-171-16/+17
|
* Removed unncessary tagging paramter from shards and levelsDouglas Rumbaugh2023-05-171-22/+19
|
* Record format generalizationDouglas Rumbaugh2023-05-151-18/+21
| | | | | Currently, tombstone counting is bugged. But the rest of it appears to be working.
* Dynamic Extension unit tests + bugfixesDouglas Rumbaugh2023-05-091-73/+73
|
* Initial port of InternalLevelDouglas Rumbaugh2023-05-091-0/+257