a retry of a partly written batch writes the rest