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

(release/v20.03) fix(dgraph): Fix out of order issues with split keys in bulk loader. #6125

Merged
merged 1 commit into from
Aug 3, 2020

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented Aug 3, 2020

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)


This change is Reviewable

Docs Preview: Dgraph Preview

…6083)

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)
@martinmr martinmr requested review from manishrjain and a team as code owners August 3, 2020 16:21
@martinmr martinmr merged commit 8bdc648 into release/v20.03 Aug 3, 2020
@martinmr martinmr deleted the martinmr/cp-bulk03 branch August 3, 2020 17:49
@martinmr martinmr restored the martinmr/cp-bulk03 branch August 3, 2020 17:49
@martinmr martinmr deleted the martinmr/cp-bulk03 branch August 3, 2020 17:49
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.

2 participants