TokuFT: fixed lock diagnostics for metadata collection