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

Allow table cache to be bypassed by ModelBean (#2359) #2362

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

Conversation

keith-ratcliffe
Copy link
Collaborator

@keith-ratcliffe keith-ratcliffe commented Apr 30, 2024

Depends on NationalSecurityAgency/datawave-accumulo-utils#14

The goal here is to allow ModelBean operations to be performed in a more timely manner. That is, in order to update a given query model, the current implementation requires that a user first performs a model DELETE operation. Then the user has to wait for an asynchronous cache refresh, so that the subsequent model POST (import) can succeed. If the cache isn't fully refreshed, the import fails with an error, because the deleted model is still resident in the cache. That process can be drastically streamlined by simply allowing the table cache to be bypassed

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.

ModelBean should optionally allow table cache to be bypassed via WrappedAccumuloClient
1 participant