Skip to content

Commit

Permalink
LSM-Tree level storage bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kkli08 committed Nov 6, 2024
1 parent ccfdf9e commit 991aade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LSMTree/LSMTree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ void LSMTree::mergeLevels(int levelIndex, const std::shared_ptr<DiskBTree>& sstT
mergeSSTables(existingSSTable, sstToMerge, mergedLeafsPath.string(), leafPageSmallestKeys, numOfPages, totalKvs);

// Create a new DiskBTree instance for the merged SSTable using the provided constructor
cout << "LSMTree::mergeLevels() newSSTablePath.string() is " << newSSTablePath.string() << endl;
// cout << "LSMTree::mergeLevels() newSSTablePath.string() is " << newSSTablePath.string() << endl;
std::shared_ptr<DiskBTree> mergedSSTable = std::make_shared<DiskBTree>(
newSSTablePath.string(), mergedLeafsPath.string(), leafPageSmallestKeys, numOfPages, totalKvs);

Expand Down

0 comments on commit 991aade

Please sign in to comment.