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

Ensure consistent query keys for runtimeServiceListFiles #4732

Merged
merged 6 commits into from
Apr 29, 2024

Conversation

briangregoryholmes
Copy link
Contributor

@briangregoryholmes briangregoryholmes commented Apr 26, 2024

This PR removes the use of a glob parameter from calls to runtimeServiceListFiles to ensure that all uses of that query have the same key. Among the many issues we have with invalidation, the existence of multiple independent calls to list files meant that that they were either 1) not being invalidated when they should have been or 2) firing redundant queries for the same underlying data.

This is a somewhat speculative PR and it's possible I've missed something about the need for the glob parameter.

@briangregoryholmes briangregoryholmes self-assigned this Apr 26, 2024
@briangregoryholmes briangregoryholmes marked this pull request as ready for review April 26, 2024 16:15
Copy link
Contributor

@ericpgreen2 ericpgreen2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with all this. Nice complement to this PR – CC @AdityaHegde, there's just a little bit of overlap.

@briangregoryholmes briangregoryholmes merged commit 8b19459 into main Apr 29, 2024
4 checks passed
@briangregoryholmes briangregoryholmes deleted the bgh/list-files branch April 29, 2024 15:49
k-anshul pushed a commit that referenced this pull request Apr 30, 2024
* initial commit

* revert

* revert type annotation

* revert bits downgrade
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.

2 participants