You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Filipe Manana (Updated) (JIRA)" <ji...@apache.org> on 2011/12/16 16:00:32 UTC

[jira] [Updated] (COUCHDB-1365) Fix merging of document with attachment stubs

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

Filipe Manana updated COUCHDB-1365:
-----------------------------------

    Attachment: reproduce-CBMA-22.sh
                0001-Fix-merging-of-documents-with-attachment-stubs.patch
    
> Fix merging of document with attachment stubs
> ---------------------------------------------
>
>                 Key: COUCHDB-1365
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1365
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core, Replication
>            Reporter: Filipe Manana
>            Priority: Blocker
>             Fix For: 1.2, 1.1.2
>
>         Attachments: 0001-Fix-merging-of-documents-with-attachment-stubs.patch, reproduce-CBMA-22.sh
>
>
> This issue was found by Marty Schoch and is reproducible the following attached script.
> The commit message in the patch explains the issue:
> "During replicated updates, merging of documents with
> attachment stubs will fail if, after merging the received
> document's revision tree with the current on disk revision
> tree, produces a revision tree which doesn't contain the revision
> that immediately precedes the received document's revision.
> This happens when the received document doesn't contain in its
> revision history any of the revisions in the revision tree
> of the currently on disk document. This is possible when the
> document had a number of updates higher than the value of revs
> limit defined for the source database."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira