| | |
| | | */ |
| | | public void publishHeartbeat(DN baseDN, CSN heartbeatCSN) |
| | | { |
| | | if (isExcludedFromECL(baseDN)) |
| | | if (MultimasterReplication.isECLDisabledDomain(baseDN)) |
| | | { |
| | | return; |
| | | } |
| | |
| | | public void publishUpdateMsg(DN baseDN, UpdateMsg updateMsg) |
| | | throws ChangelogException |
| | | { |
| | | if (isExcludedFromECL(baseDN)) |
| | | if (MultimasterReplication.isECLDisabledDomain(baseDN)) |
| | | { |
| | | return; |
| | | } |
| | |
| | | tryNotify(baseDN); |
| | | } |
| | | |
| | | private boolean isExcludedFromECL(DN baseDN) |
| | | { |
| | | Set<String> excludedDNs = MultimasterReplication.getECLDisabledDomains(); |
| | | return excludedDNs.contains(baseDN.toNormalizedString()); |
| | | } |
| | | |
| | | /** |
| | | * Returns the last time each serverId was seen alive for the specified |
| | | * replication domain. |