handling for periodic commit