Hi folks.
I’m closing to go production and while doing some tests with backups I came with this.
I’ve created a {user: “user1”, pwd: “ab123456”};
pwd schema is:
pwd : password .
Then I run:
{
users(func: has(__is_users) ) @filter( eq(user, "user1") ) {
uid
user
ok: checkpwd(pwd, "ab123456")
}
}
OK === TRUE
Then if I do:
- “curl http://localhost:8080/admin/export”,
- stop dgraph,
- clear the database by deleting p, w, and zw folders,
- start dgraph again,
- run dgraph live -r export/dgraph.r6707.u1211.1042/g01.rdf.gz -s export/dgraph.r6707.u1211.1042/g01.schema.gz
And run them same query again, OK === FALSE.
Am I doing something wrong?
Please, advice.