Fix the problem that commitLog futures were not linked to flush