couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Joseph Davis (JIRA)" <>
Subject [jira] Commented: (COUCHDB-993) Replication is crashing when changes feed was consumed
Date Tue, 21 Dec 2010 16:13:01 GMT


Paul Joseph Davis commented on COUCHDB-993:


Does this patch fix the issue for you?

For reference, the error was triggered by the ibrowse connection closing and being mistaken
for the changes loop pid. This new clause just recognizes the ibrowse pid and ignores the
exit. We never tracked down why the ibrowse connection was closed though.

> Replication is crashing when changes feed was consumed
> ------------------------------------------------------
>                 Key: COUCHDB-993
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 1.0.1, 1.0.2
>            Reporter: Sebastian Cohnen
>         Attachments: couchdb-993.patch
> Yesterday I hit a bug, where pull replication is dying which is resulting in a {exit,{json_encode,{bad_term,<0.133.0>}}}
error (CouchDB is trying to encode a PID into JSON).
> Adam and Paul had a look at this issue yesterday and they found the underlying issue:
There was a missing clause catching the exit message when the changes feed was consumed and
ibrowse closes the HTTP connection for that feed.
> Adam wrote a quick patch yesterday, which I'll append here too (applies cleanly to 1.0.x
at time of writing).
> (Sorry for any inaccuracy, I only understood the issue partially)

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

View raw message