After writing about 2G of data, the server went down. Restart the server, and then restart the dgraph, it will report this error.
What is your context?
OS
Docker, K8s or binary?
how much RAM?
What type of data you have loaded(JSON, RDF)?
Are you using GraphQL?
How many Alphas and Zeros?
Ubuntu 16.04
Docker
32G
JSON
yes,I use GraphQL
1 Alpha and 1 Zero
Thanks.
Can you check if you are using the same volume?
This error(appears to me) happens when you have started from scratch. It tries to find an inexistent GraphQL schema.
My docker-compose.yml is as follows.Any problem?
version: “3.2”
services:
zero:
image: dgraph/dgraph:latest
volumes:
- /data/dgraph:/dgraph
ports:
- 5080:5080
- 6080:6080
restart: on-failure
command: dgraph zero --my=zero:5080
alpha:
image: dgraph/dgraph:latest
volumes:
- /data/dgraph:/dgraph
ports:
- 8080:8080
- 9080:9080
restart: on-failure
command: dgraph alpha --whitelist 0.0.0.0/0 --my=alpha:7080 --lru_mb=2048 --zero=zero:5080
ratel:
image: dgraph/dgraph:latest
ports:
- 8000:8000
command: dgraph-ratel
Feels okay. Are you able to reproduce twice?