Check that a newly elected leader commits all the entries in its log without waiting for more entries to be submitted.