Skip to content

Ensure _DISCARDED is not being cached. Fix #2825#2926

Merged
justinmayer merged 4 commits intogetpelican:masterfrom
jonasborges:fix-caching-discarded-metadata
Oct 6, 2021
Merged

Ensure _DISCARDED is not being cached. Fix #2825#2926
justinmayer merged 4 commits intogetpelican:masterfrom
jonasborges:fix-caching-discarded-metadata

Conversation

@jonasborges
Copy link
Copy Markdown
Contributor

Filtration is now being applied before caching the metadata, solving the issue where _DISCARD objects from previous runs were being retrieved from cache.

Pull Request Checklist

Resolves: #2825

  • Ensured tests pass and (if applicable) updated functional test output
  • Conformed to code style guidelines by running appropriate linting tools
  • Added tests for changed code
  • Updated documentation for changed code

Filtration is now being applied before caching the metadata, solving the issue where _DISCARD objects from previous runs were being retrieved from cache.
@jonasborges jonasborges requested a review from avaris October 3, 2021 00:02
Copy link
Copy Markdown
Member

@avaris avaris left a comment

Choose a reason for hiding this comment

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

Thanks!

@jonasborges
Copy link
Copy Markdown
Contributor Author

Thanks!

no problem. thank you for the review!

@justinmayer
Copy link
Copy Markdown
Member

Many thanks to @jonasborges for the fix and to @avaris for reviewing! 🥇

@justinmayer justinmayer merged commit 8849721 into getpelican:master Oct 6, 2021
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.

Reader level cache results in TypeError with empty metadata in Markdown

3 participants