Commit ffc89d79 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

print the brt node offset and size. closes #1506

git-svn-id: file:///svn/toku/tokudb@9682 c7de825b-a66e-492c-adef-691d508d4ae1
parent ae8c7f0c
......@@ -90,8 +90,12 @@ dump_node (int f, BLOCKNUM blocknum, struct brt_header *h) {
assert(r==0);
assert(n!=0);
printf("brtnode\n");
DISKOFF disksize, diskoffset;
toku_block_get_offset_size(h->blocktable, blocknum, &diskoffset, &disksize);
printf(" diskoffset =%" PRId64 "\n", diskoffset);
printf(" disksize =%" PRId64 "\n", disksize);
printf(" nodesize =%u\n", n->nodesize);
printf(" sizeonddisk =%u\n", toku_serialize_brtnode_size(n));
printf(" serialize_size =%u\n", toku_serialize_brtnode_size(n));
printf(" flags =%u\n", n->flags);
printf(" thisnodename=%" PRId64 "\n", n->thisnodename.b);
printf(" disk_lsn =%" PRIu64 "\n", n->disk_lsn.lsn);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment