SERVER-8070 Notify primary after each batch, not after each op
SERVER-8070 Make sure buffer is drained before choosing sync target