yeqown / enchanted-sleeve

A KV storage engine based LSM
MIT License
0 stars 0 forks source link

Implement memtable and AVL tree for LSM-Tree based AVL #6

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR implements a memtable and AVL tree for the LSM-Tree based AVL storage engine. The memtable is responsible for handling insertions, deletions, and searches of keys, while the AVL tree maintains the balance of the tree after insertions and deletions. Additionally, the memtable is flushed to disk when it reaches a certain size.

Summary of Changes

Please review and provide feedback on the changes. Thank you!

Fixes #4.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/implement-memtable-avl

To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.

sweep-ai[bot] commented 1 year ago

GitHub actions yielded the following error.

##[error]Process completed with exit code 1.

The command that failed is go build -v ./....

This is likely a linting or type-checking issue with the source code. Update the code the changes and avoid modifying the existing tests.

I'm getting the same errors 3 times in a row, so I will stop working on fixing this PR.