Skip to content

cannot retrieve posting for UID from list with key. readTs less than minTs. #5435

@danielmai

Description

@danielmai

What version of Dgraph are you using?

v20.03.1

Have you tried reproducing the issue with the latest release?

Yes

What is the hardware spec (RAM, OS)?

Ubuntu Linux

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

These steps don't reproduce the issue all the time, but I do see it sometimes.

  1. Run 6-node Dgraph cluster.
  2. Live load 21-million movie data set.
  3. Run a query, e.g.,
       {
      director(func: allofterms(name@en, "steven spielberg")) {
        name@en
        director.film {
          name@en
          initial_release_date
          country {
            name@en
          }
          starring {
            performance.actor {
              name@en
            }
            performance.character {
              name@en
            }
          }
          genre {
            name@en
          }
        }
      }
    }
    
  4. Restart the same Alpha you ran a query on
  5. Run the same query on the restarted Alpha.

Expected behaviour and actual result.

When running step 4, I sometimes get this error

Error Name: t
Message: : cannot find value without language tag from list with key 0000026964000000000000009c41: cannot retrieve posting for UID 18446744073709551615 from list with key 0000026964000000000000009c41: readTs: 61825 less than minTs: 85561 for key: "\x00\x00\x02id\x00\x00\x00\x00\x00\x00\x00\x9cA"
Raw Error:
{
  "name": "t",
  "url": "http://a3c58ff3185ec11eab20b027ea48a6ae-164055270.us-west-2.elb.amazonaws.com:8080/query?timeout=20s&debug=true&ro=true&be=true",
  "errors": [
    {
      "message": ": cannot find value without language tag from list with key 0000026964000000000000009c41: cannot retrieve posting for UID 18446744073709551615 from list with key 0000026964000000000000009c41: readTs: 61825 less than minTs: 85561 for key: \"\\x00\\x00\\x02id\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x9cA\"",
      "extensions": {
        "code": "ErrorInvalidRequest"
      }
    }
  ]
}

After some amount of time (could be seconds or hours), the error goes away and the query works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/usabilityIssues with usability and error messageskind/bugSomething is broken.status/acceptedWe accept to investigate/work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions