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

server: Fix fine-grained incremental cache invalidation (fix #3759) #6027

Merged

Conversation

lexi-lambda
Copy link
Contributor

Description

This fixes issue #3759, a long-standing bug which could cause the values of enum tables to not get refreshed even when an explicit reload is triggered by clicking “Reload enum values” in the console or making a reload_metadata API call.

Affected components

  • Server

Related Issues

#3759

Solution and Design

This issue was very tricky to track down, but fortunately easy to fix. The interaction here is subtle enough that it’s difficult to put into English what would go wrong in what circumstances, but the new unit test captures precisely that interaction to ensure it remains fixed.

Server checklist

This PR includes no breaking changes.

@lexi-lambda lexi-lambda added the c/server Related to server label Oct 15, 2020
@lexi-lambda lexi-lambda requested a review from a team as a code owner October 15, 2020 21:45
@netlify
Copy link

netlify bot commented Oct 15, 2020

Deploy preview for hasura-docs ready!

Built with commit 0ea37ef

https://deploy-preview-6027--hasura-docs.netlify.app

)

This issue was very tricky to track down, but fortunately easy to fix.
The interaction here is subtle enough that it’s difficult to put into
English what would go wrong in what circumstances, but the new unit test
captures precisely that interaction to ensure it remains fixed.
@lexi-lambda lexi-lambda force-pushed the fix-incremental-dependencies-gh-3759 branch from 0ea37ef to 415aaec Compare October 15, 2020 23:20
@lexi-lambda lexi-lambda merged commit bf466e3 into hasura:master Oct 27, 2020
@lexi-lambda lexi-lambda deleted the fix-incremental-dependencies-gh-3759 branch October 27, 2020 19:52
v0d1ch pushed a commit to v0d1ch/graphql-engine that referenced this pull request Oct 29, 2020
) (hasura#6027)

This issue was very tricky to track down, but fortunately easy to fix.
The interaction here is subtle enough that it’s difficult to put into
English what would go wrong in what circumstances, but the new unit test
captures precisely that interaction to ensure it remains fixed.
@tirumaraiselvan tirumaraiselvan added this to the v1.3.3 milestone Nov 12, 2020
codingkarthik pushed a commit to codingkarthik/graphql-engine that referenced this pull request Nov 12, 2020
) (hasura#6027)

This issue was very tricky to track down, but fortunately easy to fix.
The interaction here is subtle enough that it’s difficult to put into
English what would go wrong in what circumstances, but the new unit test
captures precisely that interaction to ensure it remains fixed.
@codingkarthik codingkarthik mentioned this pull request Nov 12, 2020
34 tasks
tirumaraiselvan pushed a commit that referenced this pull request Nov 13, 2020
…6027)

This issue was very tricky to track down, but fortunately easy to fix.
The interaction here is subtle enough that it’s difficult to put into
English what would go wrong in what circumstances, but the new unit test
captures precisely that interaction to ensure it remains fixed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/server Related to server
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants