forked from dgraph-io/dgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use initial schema during bulk load. (dgraph-io#3333)
Use the initial schema during bulk load, otherwise data might not be loaded correctly for those predicates. In particular, I observed that when loading the 21million dataset with dgraph.type triples added to it, queries would not respond and would eventually timeout. I figured this was because the index for that predicate was not built during the bulkload. I reloaded the dataset with my changes included and queries respond immediately.
- Loading branch information
1 parent
d6ebfc8
commit ec40170
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters