updated comments

This commit is contained in:
Andy Arthur
2022-02-22 13:59:16 -08:00
parent 55d0f9a80b
commit 7e26adb1d3
2 changed files with 4 additions and 5 deletions

View File

@@ -48,11 +48,6 @@ const (
SmallKeyOffsetsSz = 18
SmallValueOffsetsSz = 18
// data 3200 = 800 + 3200
// offsets 796 = sizeof(uint16) * (199 + 199)
// metadata 11 = TupleFormat * 2, tree_count, tree_level
// flatbuffers 65 = (1.6% overhead)
// total size 4072
LargeLeafNodeSz = 4080
LargeLeafNodeCount = 200
LargeKeyTuplesSz = 800

View File

@@ -90,6 +90,10 @@ func (tc *treeChunker) resume(ctx context.Context) (err error) {
tc.cur.currentSubtreeSz())
// todo(andy): seek to correct chunk
// currently when inserting tuples between chunks
// we seek to the end of the previous chunk rather
// than the beginning of the next chunk. This causes
// us to iterate over the entire previous chunk
//assertFalse(ok)
if err != nil {