[ 
https://issues.apache.org/jira/browse/COUCHDB-2980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227328#comment-15227328
 ] 

Nick Vatamaniuc commented on COUCHDB-2980:
------------------------------------------

We should probably disallow "local" replications from being accepted in source 
and target of replication doc. Those end up as "local" databases (like say 
_users, _nodes, _dbs) don't do what is expected.

To make things more interesting, for the _replicate http endpoint we do some 
hacks to turn a local db into a full url:

https://github.com/apache/couchdb-chttpd/blob/master/src/chttpd.erl#L389

But that is running inside the context of a http request so it easy to access 
to authorization headers and such.



> Replicator DB on 15984 replicates to backdoor ports
> ---------------------------------------------------
>
>                 Key: COUCHDB-2980
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2980
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Replication
>            Reporter: Robert Kowalski
>
> If you POST a doc into the replicator database a replication is kicked off 
> and finishes successfully (usual 5984 port which maps to 15984 via haproxy).
> The problem is that the DB is replicated to the backdoor ports (15986) and is 
> not visible on the other ports.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to