Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(MDB) Unexpected disk space waste #5

Open
chuigda opened this issue Feb 3, 2020 · 3 comments
Open

(MDB) Unexpected disk space waste #5

chuigda opened this issue Feb 3, 2020 · 3 comments
Assignees
Labels
50RMB Fix this issue to win 50RMB! hard This issue is hard to solve

Comments

@chuigda
Copy link
Owner

chuigda commented Feb 3, 2020

图片
Due to the defects of our disk allocation algorithm, the first byte of free'd empty space will never get used. Please, fix this problem.

@chuigda chuigda changed the title Unexpected disk space waste (MDB) Unexpected disk space waste Feb 3, 2020
@chuigda chuigda self-assigned this Feb 3, 2020
@chuigda
Copy link
Owner Author

chuigda commented Feb 8, 2020

图片
Due to an unknown bug in either mdb_data_alloc or mdb_data_free, or even mdb_write_data, we have to waste one more byte.

@chuigda
Copy link
Owner Author

chuigda commented Feb 8, 2020

图片
The current allocation strategy, wasting 2 bytes. see the @todo

@SchrodingerZhu
Copy link

This occurs at what stage of storing data (flush/initialize/or something else)?

@chuigda chuigda transferred this issue from chuigda-wasteland/project-scott Feb 23, 2020
@chuigda chuigda added 30RMB Fix this issue to win 30 RMB! hard This issue is hard to solve 50RMB Fix this issue to win 50RMB! and removed 30RMB Fix this issue to win 30 RMB! labels Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
50RMB Fix this issue to win 50RMB! hard This issue is hard to solve
Projects
None yet
Development

No branches or pull requests

2 participants