rpc error: code = Unknown desc = readTs: 57 less than minTs: 98100 for key: "\x00\x00\a<predicate>\x02\x02
I encounted this error after ingest a data set and try to run a query.
From this thread looks like the error is a result of a heavy mutation update, why does this also occur when I run a query? Also, could you explain what does the error mean, please?
readTs: X less than minTs: Y for key during query
Unable to run dgraph in a multi-node kubernetes cluster
Periodically dgraph removes older versions of data(minTs is the minimum version we have available). This error means you are trying to read at a version which is not available. You would see this error if you are doing heavy mutations update and trying to read, in this case too many versions would be created for index keys and so dgraph automatically discards old versions and the transaction is trying to access older version of posting list.
But in your case either you had the transaction opened for long before reading while the mutations were going on or you delete the zw directory in zero which stores the latest timestamp(version) at which to read.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.