Stopping a multithreaded replication supplier
In a replication environment, abruptly stopping a supplier that uses multithreaded replication to accelerate replication between its consumers can cause problems. To avoid having replication-related errors, complete the specified steps before you stop a supplier server.
About this task
At any specified time, a supplier might send multiple
updates to a consumer. , The number of updates can be the number of
consumer connections, which are multiplied by the depth of replication receive queue.
A supplier can also have multiple consumers. In such cases, the number
of replication updates at any specified time can be large. The replication
status of the supplier is based on the most recent change replicated
(successfully or otherwise) so far. If a supplier is restarted, it
uses this replication status value to determine the changes that must
be sent to the consumer. If a supplier is stopped abruptly before
it receives a response from its consumers for the updates that it
sent, the supplier sends the updates again. When these updates are
sent again, it can cause errors to be reported. These errors are logged
by the supplier. They can be cleared by using the Web Administration
Tool or the command-line utility for managing the replication
error log. If the logging of replication errors is enabled, these
errors are counted against the limit for logged errors. Hence, they
must be cleared.
If the logging of replication errors is not
enabled, these kinds of errors that occur do not block replication.
The replicated add operations report that the entries
exist. The modify operation reports that the attribute
values exist or are not found. The delete operations
report that the entries no longer exist. The consumer server might
log these errors but replication continues.
In some cases, the administrator might not be aware of the problem and hence might not be able to resolve the problem. A replicated update from a supplier to its consumer might result in an error and the supplier might not be available to log the error. Depending on the last response that is received by the supplier, this update might not be replicated again.
Procedure
Results
You can also use Web Administration Tool to see the status of a replication agreement and suspend or resume replication. Use a similar approach to determine when there are not any replicated updates whose status is not reflected on the supplier.