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

Colvis cache #2700

Open
wants to merge 3 commits into
base: integration
Choose a base branch
from
Open

Colvis cache #2700

wants to merge 3 commits into from

Conversation

jalphonso
Copy link
Collaborator

Closes #2699
Updates Attribute class to use Caffeine cache to store ColumnVisibility objects.
When the cache is used a copy of the original ColumnVisibility is made and returned to the caller.
This is made possible by the new copy constructor in Accumulo 2.1.4 so this PR is gated by that release.

@jalphonso
Copy link
Collaborator Author

Note: build succeeded in my local environment when I built a 2.1.2 accumulo with my changes on top. There are breaking changes unrelated to my code that will need to be addressed before we can use 2.1.4

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

Successfully merging this pull request may close these issues.

ColumnVisibility objects should be cached in Attribute
2 participants