diff options
author | Rich Megginson <rmeggins@redhat.com> | 2005-05-18 02:17:21 +0000 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2005-05-18 02:17:21 +0000 |
commit | 24f314b55f95d9ff9e94470d1378e834fc7a2b9b (patch) | |
tree | 036b2b6c0c12b5411de16dc4bbdc3b76bb8fa6b9 | |
parent | a5a7c6c10cd7206fcf585af9c5cf58dc3599438f (diff) | |
download | ds-24f314b55f95d9ff9e94470d1378e834fc7a2b9b.tar.gz ds-24f314b55f95d9ff9e94470d1378e834fc7a2b9b.tar.xz ds-24f314b55f95d9ff9e94470d1378e834fc7a2b9b.zip |
Correctly report in the repl agreement status attrs that the repl init failed when it failed due to attempting to do fractional replication to another master.
-rw-r--r-- | ldap/servers/plugins/replication/repl5_protocol_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/servers/plugins/replication/repl5_protocol_util.c b/ldap/servers/plugins/replication/repl5_protocol_util.c index e6d8c957..d406f79b 100644 --- a/ldap/servers/plugins/replication/repl5_protocol_util.c +++ b/ldap/servers/plugins/replication/repl5_protocol_util.c @@ -374,6 +374,7 @@ acquire_replica(Private_Repl_Protocol *prp, char *prot_oid, RUV **ruv) "the agreement is fractional but the replica is not read-only. Fractional agreements must specify a read-only replica " "Replication is aborting.\n", agmt_get_long_name(prp->agmt)); + prp->last_acquire_response_code = NSDS50_REPL_INTERNAL_ERROR; return_value = ACQUIRE_FATAL_ERROR; goto error; } |