Cannot find value without language tag

Moved from GitHub dgraph/5523

Posted by jarifibrahim:

What version of Dgraph are you using?

Master https://github.com/dgraph-io/dgraph/commit/cc9795734359d816606fe454ba997b7800a6bdfd

Steps to reproduce the issue (command/config used to run Dgraph).

Run flock with 3 zero and 3 alpha

Expected behaviour and actual result.

Failures when running queries

2020/05/27 13:22:24 main.go:850: Using 6 dgraph clients on 3 alphas
2020/05/27 13:22:24 main.go:904: Reporting stats every 2 seconds
2020/05/27 13:22:26 main.go:910: STATS success: 47, failures: 0, query_rate: 23/sec
2020/05/27 13:22:27 main.go:328: error in querying dgraph :: rpc error: code = Unknown desc = : cannot find value without language tag from list with key 00000b73637265656e5f6e616d650000000000000004d6: cannot retrieve posting for UID 18446744073709551615 from list with key 00000b73637265656e5f6e616d650000000000000004d6: readTs: 39431 less than minTs: 39639 for key: "\x00\x00\vscreen_name\x00\x00\x00\x00\x00\x00\x00\x04\xd6"
2020/05/27 13:22:27 main.go:892: error in running query :: rpc error: code = Unknown desc = : cannot find value without language tag from list with key 00000b73637265656e5f6e616d650000000000000004d6: cannot retrieve posting for UID 18446744073709551615 from list with key 00000b73637265656e5f6e616d650000000000000004d6: readTs: 39431 less than minTs: 39639 for key: "\x00\x00\vscreen_name\x00\x00\x00\x00\x00\x00\x00\x04\xd6"
2020/05/27 13:22:27 main.go:328: error in querying dgraph :: rpc error: code = Unknown desc = : cannot find value without language tag from list with key 000007757365725f69640000000000000004d6: cannot retrieve posting for UID 18446744073709551615 from list with key 000007757365725f69640000000000000004d6: readTs: 39431 less than minTs: 39639 for key: "\x00\x00\auser_id\x00\x00\x00\x00\x00\x00\x00\x04\xd6"
2020/05/27 13:22:27 main.go:892: error in running query :: rpc error: code = Unknown desc = : cannot find value without language tag from list with key 000007757365725f69640000000000000004d6: cannot retrieve posting for UID 18446744073709551615 from list with key 000007757365725f69640000000000000004d6: readTs: 39431 less than minTs: 39639 for key: "\x00\x00\auser_id\x00\x00\x00\x00\x00\x00\x00\x04\xd6"
2020/05/27 13:22:28 main.go:910: STATS success: 79, failures: 2, query_rate: 16/sec
2020/05/27 13:22:29 main.go:328: error in querying dgraph :: rpc error: code = Unknown desc = : cannot find value without language tag from list with key 000009757365725f6e616d65000000000000006bbf: cannot retrieve posting for UID 18446744073709551615 from list with key 000009757365725f6e616d65000000000000006bbf: readTs: 39645 less than minTs: 39753 for key: "\x00\x00\tuser_name\x00\x00\x00\x00\x00\x00\x00k\xbf"
1 Like

jarifibrahim commented :

I see too many of these errors on flock and this affects other users as well Cannot find value without language tag from list? .

dmitryyankowski commented :

Hoping this can get fixed soon! Thanks @jarifibrahim

jarifibrahim commented :

@dmitryyankowski were you running multiple alphas/zeros or did you have a single node setup?

dmitryyankowski commented :

@dmitryyankowski were you running multiple alphas/zeros or did you have a single node setup?

I’m running only 1 alpha and 1 zero. The steps to reproduce are on that forum post you just linked here! :slight_smile:

And the schema i’m using is the following (Updating schema in my Go code):

key: int @index(int) @upsert .
bal: int .
typ: string @index(exact) @upsert .

Should also note that i’m using the Master branch. Also it seems that this error tends to come up more frequently the more transactions you’re running at once. It didn’t give me the error that often when I was trying to do less transactions. Idk if that means anything :slight_smile:

jarifibrahim commented :

@martinmr IIUC, this is an intermediate state and the subsequent queries will return correct value but I think we should find another way around.

I’m seeing many errors while running tests because there are multiple parallel transactions running.

Any updates on this? :slight_smile: