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

Fix cross shard graft #4030

Merged
merged 2 commits into from
Oct 4, 2022
Merged

Fix cross shard graft #4030

merged 2 commits into from
Oct 4, 2022

Conversation

leoyvens
Copy link
Collaborator

@leoyvens leoyvens commented Oct 4, 2022

First commit reverts most of 0c4417e, which was misguided since the graft code is already only called if the graft is pending.

Second commit fixes cross shard grafting, by not assuming that load_deployment will succeed on the same DeploymentStore as the one in which the source subgraph is deployed.

Read with whitespace diff disabled.

@leoyvens leoyvens requested a review from lutter October 4, 2022 15:43
@leoyvens leoyvens force-pushed the leo/fix-cross-shard-graft branch from 5994e64 to 9ce7f67 Compare October 4, 2022 22:47
Copy link
Collaborator

@lutter lutter left a comment

Choose a reason for hiding this comment

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

Nice!

@leoyvens leoyvens merged commit 0f08b81 into master Oct 4, 2022
@leoyvens leoyvens deleted the leo/fix-cross-shard-graft branch October 4, 2022 23:21
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