vmware / splinterdb

High Performance Embedded Key-Value Store
https://splinterdb.org
Apache License 2.0
680 stars 57 forks source link

(#530) Add test cases to exercise print methods for mini-allocator metadata pages and for trunk verbose logging. #531

Closed gapisback closed 1 year ago

gapisback commented 1 year ago

This commit adds new print function to drive the functions for printing keyed / unkeyed metadata pages of the mini-allocator. Existing test cases are enhanced as follows to eventually exercise these print methods.

NOTE: This is a draft PR to discuss the changes with Alex & Rob.

[Updated 2.1.2023]: Fixed a bug. Much of the driving functions seem to work ok. The print outputs from updated test cases for keyed and unkeyed mini-allocator's metadata pages for "real-data" (generated by inserting lots of rows into trunk or BTree) seem to work fine.

netlify[bot] commented 1 year ago

Deploy Preview for splinterdb canceled.

Name Link
Latest commit c7f0422ee811d30ee90d8db20a099268bb2871a1
Latest deploy log https://app.netlify.com/sites/splinterdb/deploys/63dc46027b936f0009c861fa
gapisback commented 1 year ago

Draft PR. This dev work was surfaced as 2-part PRs which were internally discussed. There was no interest in absorbing this work to /main.

Abandoned.