From b88b2ba0c2bd336b69ebdd246b07f25b7d4b8220 Mon Sep 17 00:00:00 2001 From: balaji Date: Mon, 15 Jul 2019 23:24:27 +0530 Subject: [PATCH] Set UserMeta in bulk loader. (#3649) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug fix for bulk loader changes introduced in #3542. Fixes #3607. Signed-off-by: பாலாஜி ஜின்னா --- dgraph/cmd/bulk/count_index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dgraph/cmd/bulk/count_index.go b/dgraph/cmd/bulk/count_index.go index 98572818db3..2c09ef7178d 100644 --- a/dgraph/cmd/bulk/count_index.go +++ b/dgraph/cmd/bulk/count_index.go @@ -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, })