Skip to content

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

Merged
martinmr merged 1 commit intorelease/v20.03from
martinmr/cp-bulk03
Aug 3, 2020
Merged

(release/v20.03) fix(dgraph): Fix out of order issues with split keys in bulk loader.#6125
martinmr merged 1 commit intorelease/v20.03from
martinmr/cp-bulk03

Conversation

@martinmr
Copy link
Copy Markdown
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 a review from manishrjain as a code owner August 3, 2020 16:21
@martinmr martinmr requested a review from a team 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