-
Notifications
You must be signed in to change notification settings - Fork 473
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
Reduce the block cache configurations into a single one #1549
Conversation
@Yangsx-1 Another point is that needs to ignore the below configurations when rewriting:
to make sure they won't appear in the config file. |
This means that these configurations shouldn't be in the config file? If it appears, there may be some warning messages or error? |
What I mean is to remove them from the |
OK |
Others are generally good for me, thanks for your efforts. |
@git-hulk |
Yes, it's intentional. And it's a historically wrong decision to separate the block cache between column families. From the user side, it's really hard to balance the cache capacity between column families, the best way is to let LRU determine. To avoid the change being too aggressive, @ShooterIT added this option to allow users to use the old way. But from the performance, sharing the block cache is always better than the separate, so I think it's time to ignore this configuration and remove it in next major version. |
Thanks for your contribution! |
Close #1495