[ 
https://issues.apache.org/jira/browse/COUCHDB-1178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Joseph Davis updated COUCHDB-1178:
---------------------------------------

    Attachment: blargh.sh
                COUCHDB-1178.patch

That's a sneaky patch. When I tracked this down last night I ended up just 
adding a clause to make_first_doc_on_disk to ignore #doc{} records in the tree.

The blargh.sh script can trigger this error.

> function_clause error in make_first_doc_on_disk
> -----------------------------------------------
>
>                 Key: COUCHDB-1178
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1178
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.0.2
>            Reporter: Robert Newson
>            Assignee: Robert Newson
>            Priority: Blocker
>             Fix For: 1.0.3, 1.1, 1.2
>
>         Attachments: COUCHDB-1178.patch, blargh.sh, 
> couchdb-1178-prevention.patch
>
>
> make_first_doc_on_disk does not expect to encounter a {Rev, #doc} tuple, but 
> can under some circumstances, this causes a function_clause error.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to