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

opt(reindex): do not try building indices when inserting a new predicate #7109

Merged
merged 7 commits into from
Mar 10, 2021

Conversation

NamanJain8
Copy link
Contributor

@NamanJain8 NamanJain8 commented Dec 10, 2020

When inserting a new predicate, do not perform rebuilding indices operations. Though the rebuilding and drop operation would be a NOOP. It is still better not to do extra stuff like creating tmp DBs(used for indexing), blocking writes etc.


This change is Reviewable

Copy link
Contributor

@manishrjain manishrjain 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 1 of 1 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @martinmr)

@netlify
Copy link

netlify bot commented Jan 8, 2021

✔️ Deploy preview for dgraph-docs ready!

🔨 Explore the source changes: 0bce607

🔍 Inspect the deploy logs: https://app.netlify.com/sites/dgraph-docs/deploys/5ff8120ec5b2ec000716f9ab

😎 Browse the preview: https://deploy-preview-7109--dgraph-docs.netlify.app

@NamanJain8 NamanJain8 changed the base branch from master to release/v21.03 March 9, 2021 15:59
@NamanJain8 NamanJain8 merged commit 55b05c7 into release/v21.03 Mar 10, 2021
@NamanJain8 NamanJain8 deleted the naman/remove-index-build branch March 10, 2021 08:54
aman-bansal pushed a commit that referenced this pull request Mar 15, 2021
…ate (#7109)

When inserting a new predicate, do not perform rebuilding indices operations. Though the rebuilding and drop operation would be a NOOP. It is still better not to do extra stuff like creating tmp DBs(used for indexing), blocking writes etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants