Dgraph version : v1.0.11
Commit SHA-1 : b2a09c5b
Commit timestamp : 2018-12-17 09:50:56 -0800
Branch : HEAD
Go version : go1.11.1
We have RDFs near to 500 million and trying to index them to dgraph using dgraph live.
The server crashed few time in between and I had to restart the server and continue indexing. For this purpose I am using -x switch to store the xid to uid mappings too.
Now I see a new error in the logs continuously:
dgraph: E0220 07:02:39.913535 3971 storage.go:540] i=940703<first=940704, ErrSnapOutOfDate
dgraph: W0220 07:02:39.913541 3971 draft.go:333] Error while calling CreateSnapshot: requested index is older than the existing snapshot. Retrying…
And the db is not loading at all. Not able to query the already indexed nodes as well.
Looks like the indexes have crashed. Is there a way to rollback to a previous safe state and continue the indexing.
Any help would be appreciated.