(WIP)fix buff cache concurrency bug, (must fix log_alloc_mutex bug)