couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <>
Subject [jira] Created: (COUCHDB-884) Improve error handling in couch_rep_reader
Date Fri, 10 Sep 2010 14:25:35 GMT
Improve error handling in couch_rep_reader

                 Key: COUCHDB-884
             Project: CouchDB
          Issue Type: Improvement
          Components: Replication
    Affects Versions: 1.0.1
            Reporter: Filipe Manana
            Assignee: Filipe Manana
            Priority: Minor

Currently, the replicator might crash when trying to read a doc from a remote DB. This is
due unmatched clauses in a function. Example:

** Last message in was {'DOWN',#Ref<>,process,<0.216.0>,
                              {<<"reason">>,<<"Authentication required.">>}]},

The following patch avoids that the replicator crashes in this case and adds a useful error
log message as well.

Is anyone against applying this to trunk and 1.0.x? Adam?

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

View raw message