Write operations in DS/OpenDJ (All versions) fail when replication servers are down

Last updated Aug 10, 2020

The purpose of this article is to provide assistance if DS/OpenDJ rejects all write operations when replication servers (RSs) are offline.


In a standalone RS topology (DS <-> RS <-> DS), you notice that write operations (add, modify etc) to the directory servers fail when all RSs are down.

You will see an error similar to the following when this happens:

ADD operation failed
Result Code: 53 (Unwilling to Perform) 
The Replication is configured for suffix dc=example,dc=com but was not able to connect to any Replication Server

Recent Changes

Replication servers (RSs) have been taken offline or shut down for another reason.


Replication is only possible when at least one RS is up, since DS must be connected to an RS for it to take writes. If replication is configured, the default behavior of the DS is to reject any writes if no RSs are found when an update is received. This prevents divergence between the DSs since it’s impossible to replicate those changes to other servers when the RSs are down or when they come back online.


This issue can be resolved by ensuring you always have at least one RS online that the DS can connect to.


Setting the replication domain isolation-policy to accept-all-updates when all RSs are offline will cause divergence between the DSs. If you allow all updates, any writes occurring when the RS is down will not be replicated to other DSs, even when the RSs come back online. There is no queuing of changes on a DS waiting for the RS to come online; changes are managed via the RSs' changelogDb. 

See Also

Directory server 1 was attempting to connect to replication server 2 but has disconnected in handshake phase error in DS 5 and OpenDJ 3.0, 3.5, 3.5.1

How do I troubleshoot replication issues in DS 5.x, 6.x and OpenDJ 3.x?

How do I use the Access log to troubleshoot DS/OpenDJ (All versions)?

Replication in DS/OpenDJ

Configuration Guide › Replication

Related Training

ForgeRock Directory Services Core Concepts (DS-400)

Related Issue Tracker IDs


Copyright and TrademarksCopyright © 2020 ForgeRock, all rights reserved.