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
Archived models continue to be cached #41318
Comments
johnswanson
added a commit
that referenced
this issue
Apr 11, 2024
When we actually run the job to cache models, we select "refreshable models", which selects `PersistedInfo` where: - the `state` is something refreshable, and - the question marked for caching is actually a model, and - the question hasn't been archived. However, when we selected `PersistedInfo`s to display to the user, we didn't apply any conditions. Instead, we included PersistedInfo where the question was not a model, or where the question had been archived. To prevent confusion, let's hide these. Fixes #41318
johnswanson
added a commit
that referenced
this issue
Apr 18, 2024
When we actually run the job to cache models, we select "refreshable models", which selects `PersistedInfo` where: - the `state` is something refreshable, and - the question marked for caching is actually a model, and - the question hasn't been archived. However, when we selected `PersistedInfo`s to display to the user, we didn't apply any conditions. Instead, we included PersistedInfo where the question was not a model, or where the question had been archived. To prevent confusion, let's hide these. Fixes #41318
github-actions bot
pushed a commit
that referenced
this issue
Apr 18, 2024
When we actually run the job to cache models, we select "refreshable models", which selects `PersistedInfo` where: - the `state` is something refreshable, and - the question marked for caching is actually a model, and - the question hasn't been archived. However, when we selected `PersistedInfo`s to display to the user, we didn't apply any conditions. Instead, we included PersistedInfo where the question was not a model, or where the question had been archived. To prevent confusion, let's hide these. Fixes #41318
metabase-bot bot
added a commit
that referenced
this issue
Apr 18, 2024
When we actually run the job to cache models, we select "refreshable models", which selects `PersistedInfo` where: - the `state` is something refreshable, and - the question marked for caching is actually a model, and - the question hasn't been archived. However, when we selected `PersistedInfo`s to display to the user, we didn't apply any conditions. Instead, we included PersistedInfo where the question was not a model, or where the question had been archived. To prevent confusion, let's hide these. Fixes #41318 Co-authored-by: John Swanson <john.swanson@metabase.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Models that have been archive continue to show up in the cache log.
To Reproduce
Expected behavior
I would not expect archived models to be cached.
Logs
No response
Information about your Metabase installation
- Metabase version: v1.49.2
Severity
Low
Additional context
No response
The text was updated successfully, but these errors were encountered: