I am trying to figure out where all disk gone and built simple cli app to measure size of the keys in each directory. It is very naive - simply range read all keys in all directories and values are not matching fdbcli output at all. I tried to check if there anything else in database and I measured size by simply iterating of all keys.
Currently fdbclu returns
940.289 GB, but my cli reports only
4.73 GB of keys and
57.52 GB of values overall.
Are there any magic in cli calculation? Any possible delayed cleanups? We are not writing too much.
My code is very naive - I simply range read all keys while transaction is timeouted and then simply continue from last read key until it is done. Also this anomaly is seen only in production database.