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

Make edit update search cache #48

Open
frankduncan opened this issue Apr 6, 2021 · 0 comments
Open

Make edit update search cache #48

frankduncan opened this issue Apr 6, 2021 · 0 comments

Comments

@frankduncan
Copy link
Collaborator

Currently when editing a field, the search cache does not get updated (and in fact, the search cache will never reflect the edits). This needs to change, with acceptable time delay. This shouldn't require a background job, but it may.

We shouldn't tackle this until the move to postgres has been completed. This will require looping over all the sheet_configs, and then updating the rows that include the row being edited. We can probably be lazy and do it even for groups that may not have access to this field, as the time hit shouldn't be huge.

This also requires changing the cache generation (for instance, when we change the permissions of a group) to use edit values, rather than natural ones.

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