producer consumer commit