Skip to content

Commit

Permalink
Set UserMeta in bulk loader. (dgraph-io#3649)
Browse files Browse the repository at this point in the history
Bug fix for bulk loader changes introduced in dgraph-io#3542.

Fixes dgraph-io#3607.

Signed-off-by: பாலாஜி ஜின்னா <[email protected]>
  • Loading branch information
poonai authored and dna2github committed Jul 19, 2019
1 parent f3e4971 commit b88b2ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dgraph/cmd/bulk/count_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func (c *countIndexer) writeIndex(pred string, rev bool, counts map[int][]uint64
list.Kv = append(list.Kv, &bpb.KV{
Key: x.CountKey(pred, uint32(count), rev),
Value: data,
Meta: []byte{posting.BitCompletePosting},
UserMeta: []byte{posting.BitCompletePosting},
Version: c.state.writeTs,
StreamId: streamId,
})
Expand Down

0 comments on commit b88b2ba

Please sign in to comment.