@JimWen The data won’t be removed from disk when you drop/delete anything. The delete operation is logical which means a new entry with delete marker will be added and it will be eventually removed (along with the older keys) by compaction/garbage collection. In simple words, the disk usage won’t be affected instantly by the drop operation.
As for the data showing up in the /state endpoint, that shouldn’t happen. Which version of dgraph are you using? Can you share some logs? It might be possible that the state endpoint is reporting stale data.
@ibrahim@JimWen is there a released fix for this issue ?
Today I’ve tried to remove one predicate but the state still show me the deleted one (which not show anymore in schema {} query)
I’ve deleted on both my staging (v20.11.3) and production (v20.11.3) server and both of them act the same. I’ve waited for more than one house and it still appear in /state.
I’ve forgotten to monitor disk usage before remove so still wonder its really cleanup space or not
My predicate size is 1.2GB, can we estimate how long the state will sync ?
Already around 10 hours when I removed the predicate and the state still show the same (I’ve changed to other machine so definitely no client/HTTP cache here)