When I DROP_ALL
data and schema from my Dgraph cluster, all predicates still exist in the /state
endpoint under /groups/*/tablets
. Is this expected or should / could them be removed from the partitioning as well since none of the predicates exist on any alpha node anymore.
What I do:
> curl -X POST localhost:8080/alter -d '{"drop_all": true}'
{"data":{"code":"Success","message":"Done"}}
> curl -o - http://localhost:8080/state | python -m json.tool
{
…
"groups": {
"1": {
…
"tablets": {
"dgraph.graphql.schema": …,
"dgraph.graphql.xid": …,
"dgraph.type": …,
[all the predicates that just got dropped]
}
}
},
…
}