couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Young (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-1041) Send replication "conflict (are you replicating to yourself?)" error back
Date Wed, 26 Jan 2011 21:40:45 GMT
Send replication "conflict (are you replicating to yourself?)" error back
-------------------------------------------------------------------------

                 Key: COUCHDB-1041
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1041
             Project: CouchDB
          Issue Type: Improvement
          Components: HTTP Interface
    Affects Versions: 1.1, 1.0.1
            Reporter: Benjamin Young
            Priority: Minor


I have three local CouchDB instances on various ports (differing versions). I accidently entered
the port number for the instance I was replicating *to* in the *from* field, so the replication
would have been to and from the same database. CouchDB doesn't currently send that error to
the client, though it does output this in the logs: "checkpoint failure: conflict (are you
replicating to yourself?)"

It would be handy (at least for Futon) to have that information in either the response body
or in the header. The log error message does include "conflict" in the wording, so perhaps
a 409 Conflict error message is in order.

Happy to provide a patch if 409 is the way to go.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message