Skip to content

Data missing in Dgraph cluster after bulk loading #2129

@veludurai106

Description

@veludurai106

DGraph Version - 1.0.3

OS - Centos 7

Steps to reproduce the issue

  • Started zero server
    nohup dgraph zero --my=10.111.111.101:5080 --replicas=3 --idx=01 &

  • Ran bulk loader
    dgraph bulk -r /home/mapr/DgraphResources/sample.rdf -s /home/mapr/DgraphResources/sample.schema --map_shards=6 --reduce_shards=3 -z 10.111.111.101:5080

sample.schema.txt
sample.rdf.txt

  • Copied the p folders to all 3 nodes (/opt/dgraph/data)

  • Started dgraph server in 3 nodes (inside /opt/dgraph/data)
    nohup dgraph server --memory_mb=16000 --my=10.111.111.101:7080 --zero=10.111.111.101:5080 &
    nohup dgraph server --memory_mb=16000 --my=10.111.111.104:7080 --zero=10.111.111.101:5080 &
    nohup dgraph server --memory_mb=16000 --my=10.111.111.107:7080 --zero=10.111.111.101:5080 &

  • Expected behaviour
    I will get result if I query any of the 3 nodes (using IP:port/query API)

  • Actual behaviour
    Only one node returns partial result. whereas when I query other 2 nodes , I am getting empty result.

End point - http://10.111.111.107:8080/query?debug=true
Post Body - query.txt
Response - response.txt

Result of cluster state api - /state
cluster state.txt

Node
I initially tried with ~50M edges, faced same issue.

Please help me to understand what is missing!.

Metadata

Metadata

Labels

kind/bugSomething is broken.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions