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

[BREAKING] fix(usability): make force-namespace flag compulsory in live loader for galaxy user #7731

Merged
merged 3 commits into from
Apr 20, 2021

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented Apr 15, 2021

This change will be breaking because --force-namespace flag was optional for galaxy users earlier.
There might be an issue where a user may unknowingly load the data into a default namespace (when she instead wants to preserve a namespace). This can be dangerous. So, this change makes the live loader expects the user to explicitly set the --force-namespace.


This change is Reviewable

@github-actions github-actions bot added area/live-loader Issues related to live loading. area/testing Testing related issues labels Apr 15, 2021
@NamanJain8 NamanJain8 changed the title fix(usability): make force-namespace flag compulsory in live loader for galaxy user [BREAKING] fix(usability): make force-namespace flag compulsory in live loader for galaxy user Apr 15, 2021
Copy link
Contributor

@ahsanbarkati ahsanbarkati left a comment

Choose a reason for hiding this comment

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

Looks good

dgraph/cmd/live/run.go Outdated Show resolved Hide resolved
@NamanJain8 NamanJain8 merged commit 64b3b85 into master Apr 20, 2021
@NamanJain8 NamanJain8 deleted the naman/force-flag branch April 20, 2021 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/live-loader Issues related to live loading. area/testing Testing related issues
Development

Successfully merging this pull request may close these issues.

3 participants