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

Store Pinning in information in a Real Database? #5592

Open
kevina opened this issue Oct 12, 2018 · 1 comment
Open

Store Pinning in information in a Real Database? #5592

kevina opened this issue Oct 12, 2018 · 1 comment

Comments

@kevina
Copy link
Contributor

kevina commented Oct 12, 2018

@Stebalien thinks we should store pinning information in a real database.

This could work, but one concern not discussed is the size. I believe this is one of the original reasons we did not originally do something similar before.

Depends on #5591

@kevina
Copy link
Contributor Author

kevina commented Oct 12, 2018

One of the reasons for my suggestion to using inode-like data structures is avoid a size increase for storing simple information such as reference counts, as if it part of the inode (#5528) it is just another 32 (or maybe 64) bits. If we store it separately there is the cost of the storing the key which can be significant. Especially for small blocks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant