Skip to content

fix(Export/Import): Live load exported schema#5696

Merged
danielmai merged 1 commit intorelease/v20.07from
abhimanyu/cherry-pick
Jun 19, 2020
Merged

fix(Export/Import): Live load exported schema#5696
danielmai merged 1 commit intorelease/v20.07from
abhimanyu/cherry-pick

Conversation

@abhimanyusinghgaur
Copy link
Copy Markdown
Contributor

@abhimanyusinghgaur abhimanyusinghgaur commented Jun 19, 2020

This PR fixes the issue where live loader was not able to import the schema exported using export request. It does so, by allowing the alter schema request for pre-defined types to go through if the type in the request is same as the initial internal type.

This issue was introduced as a result of #5185.

This PR also disallows a pre-defined type from being dropped.

Fixes #DGRAPH-1694.


This change is Reviewable

Docs Preview: Dgraph Preview

This PR fixes the issue where live loader was not able to import the schema exported using export request. It does so, by allowing the alter schema request for pre-defined types to go through if the type in the request is same as the initial internal type.

This issue was introduced as a result of #5185.

This PR also disallows a pre-defined type from being dropped.

Fixes #DGRAPH-1694.

(cherry picked from commit 76ae60b)
@github-actions github-actions Bot added area/enterprise Related to proprietary features area/live-loader Issues related to live loading. area/schema Issues related to the schema language and capabilities. labels Jun 19, 2020
Copy link
Copy Markdown
Contributor

@danielmai danielmai left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 6 of 6 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain and @vvbalaji-dgraph)

@danielmai danielmai merged commit 9f690df into release/v20.07 Jun 19, 2020
@danielmai danielmai deleted the abhimanyu/cherry-pick branch June 19, 2020 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/enterprise Related to proprietary features area/live-loader Issues related to live loading. area/schema Issues related to the schema language and capabilities.

Development

Successfully merging this pull request may close these issues.

2 participants