Ticket 47788 - Supplier can skip a failing update, although it should retry
Bug Description: If a replicated update fails on the consumer,
the update is never tried. This is due to the
replication async result thread missing the failure
before another update is replicated and it succeeds.
This second update that succeeds updates the consumer
RUV. This makes it appear that the consumer is caught
up, and the supplier never resends that original
failed update.
Fix Description: When a replicated update fails, and its an error we can
not ignore, the connection is closed. Which stops the
replication session, and prevents any further updates
coming in and updating the consumer RUV. This allows
the supplier to correctly retry the operation that
failed on the next replication session.
https://fedorahosted.org/389/ticket/47788
Reviewed by: nhosoi, wibrown, and rmeggins (Thanks!!!)
(cherry picked from commit 80c68e202ff2b50a60f35b6683ef26b41609bc56)