I’ve been running Dgraph on a virtual server for a few months. Now, after I messed something up, I had to restore the server to an earlier point in time. Since then, however, the database appears to be broken:
- several edges and nodes have disappeared (checked with Ratel)
- some queries fail with an error message mentioning incorrect timestamps, e.g.:
Could not query predicate statistics: ": cannot retrieve default value from list with key 0000046e616d65000000000000000010: cannot retrieve posting for UID 18446744073709551615 from list with key 0000046e616d65000000000000000010: readTs: 1400037 less than minTs: 1411132 for key: “\x00\x00\x04name\x00\x00\x00\x00\x00\x00\x00\x00\x10"”
Anyway, I thought I could consider myself lucky because I did create a tarball of the p, w and zw folders just before I restored the backup. But no luck, even when I restore those files and restart the alpha, the database stays broken all the same.
I’m running out of ideas how to rescue the data. Any help will be appreciated!