rename flushing to commitRunning
rename commitCache->commitQueued