-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dgraph): Fix out of order issues with split keys in bulk loader. (#…
…6125) Split keys for indexes can cause out-of-order issues due to the variable length of the term inside the key. To fix the issue, the split keys are written to a temporary DB first (using the writebatch to avoid the out of order issues) and then copied to the main p directory. Related to DGRAPH-1897 (cherry picked from commit 2a3b85c)
- Loading branch information
Showing
3 changed files
with
137 additions
and
19 deletions.
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
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