Skip to content

Problem when change datatype and index of predicate with huge data #3572

@thanhphi0401

Description

@thanhphi0401

If you suspect this could be a bug, follow the template.

  • What version of Dgraph are you using?
    v1.0.14

  • Have you tried reproducing the issue with latest release?
    Yes

  • What is the hardware spec (RAM, OS)?
    Linux Ubuntu 18.04 , 31GiB

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

  1. Go to dgraph-ui page
  2. Change type predicate from string to float and make index
    image
  3. The Dgraph server freeze some minutes. I had restart Dgraph server
systemctl restart dgraph dgraph-ui.service dgraph-zero.service
  1. Go back ui page (port 8000) , make query and not response. The error: context deadline exceeded (see image)
  • Detail:

I have Dgraph Database with huge data (over 10 million nodes). After i change price predicate from string to float (current with over 5 million nodes has price data) and index it, Dgraph server has been freeze and i can’t query or mutate. This is the error:
image

It seem to be hang forever and can’t excute any query.
I have restart Dgraph service, but still got the problem.
What happen, is it the bug on Dgraph when run with huge data?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/indexesRelated to indexes (indices) and their usage.area/schemaIssues related to the schema language and capabilities.area/usabilityIssues with usability and error messageskind/questionSomething requiring a response.priority/P2Somehow important but would not block a release.status/acceptedWe accept to investigate/work on it.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions