-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
When configuring dgraph alpha :
- you are allowed to set --lru_mb higher than actual RAM on the system.
- Doing so will crash the instance AND DELETE ALL THE DATAS. It deletes the directories and the datas of degraph.
We had the bug twice with deleting of the folders and data, before we understood that.
Note that our Ubuntu system stays stable. With lru to 1024 we have been stable for 5 days.
What version of Dgraph are you using?
1.1.1
What is the hardware spec (RAM, OS)?
Scaleway DEV instance 2GB RAM . Ubuntu 18.04
Steps to reproduce the issue (command/config used to run Dgraph).
1 ) Install Dgraph as a service following this tutorial : https://computingforgeeks.com/install-dgraph-on-centos-ubuntu/
2) Wait for some time : 24hours in our tests
3) Check the services : dgraph alpha is down + its folder are now deleted !
Expected behaviour and actual result.
-It shouldn t be possible to set the memory direcive higher than the system memory.
- In case of a crash it shouldn t delete all my dgraph data and folders.
Metadata
Metadata
Assignees
Labels
No labels