Fix and tuning for TokuDB