vmware / splinterdb

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

Identify Memtable v/s Branch page types via BTree-print routines. #527

Closed gapisback closed 1 year ago

gapisback commented 1 year ago

This commit extends BTree-printing routines to also report the page type, whether it's a branch or a memtable BTree. As the structures and print methods are shared between two types of objects, this extra information will help in diagnostics.

netlify[bot] commented 1 year ago

Deploy Preview for splinterdb canceled.

Name Link
Latest commit 1c4629cf1a96fb60f01942a05bb2dc6532502d28
Latest deploy log https://app.netlify.com/sites/splinterdb/deploys/64110bfba685ed000882f2e3
gapisback commented 1 year ago

@rtjohnso - I have updated this BTree print page-type PR to make the changes we discussed this afternoon. Please take a final look at this 2nd commit

With these corrections, this change set should be ready to go.

Thanks.