Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Multitree root commit with blocking log write * fmt * Implement get_root and get_node * Initial work on readers * Working readers * Working iterator * Added TreeReader for accessing tree root and nodes * get_tree returns RwLock reader * Track ValueTable free entries in memory * Added ability to claim free entries from ValueTable. Used this to make tree insertion work with commit queue. * Make ChainGenerator generate trees that share nodes from previous trees * Tree commits share existing nodes * Stress test tree pruning. Tree removal (Currently just removes root). * Implemented tree removal with reference counting for shared nodes * Empty on shutdown option. This removes all trees and waits for value tables to empty. * Depth based age histograms for more accurate chain generation. Increased node sharing. * Prepare for using claim_contiguous_entries * Append-only mode * Check RC on dereferencing root * Correctly use full key or hash * Safer entry claiming. Deal with tree removal while a commit is being built using that tree by deferring the removal. * Separate tree operations * Added various checks for correct usage * Reference count tables * fmt * Remove value table verification of ref counts * Only create and use ref count table when needed * Multitree stress fix for appending to existing database * On restart table data needs to be generated after all log files have been enacted * In memory ref count cache. Verifies with table. * Only access ref count table when needed * Rename * Remove commented out lines * madvise * Ref count overlay reclaiming * Chunk buffer alignment * Test fix * Windows fix * Fix * Fix * Loom RwLock requires Sized * Debug asserts * Use INFO_COLUMN as column index * Avoid changing existing log action values * Typo * Fix * Remove ordered for now * Remove claim_next_free * Read lock * Improved node data packing and unpacking * Simple ref_count tests * Remove unused multi tree node compression * Added allow_direct_node_access column option --------- Co-authored-by: arkpar <arkady.paronyan@gmail.com>
- Loading branch information