couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Dionne (JIRA)" <>
Subject [jira] Commented: (COUCHDB-902) Attachments that have recovered from conflict do not accept attachments.
Date Thu, 13 Jan 2011 20:24:46 GMT


Bob Dionne commented on COUCHDB-902:

Klaus et. al.,

  I think we found the crux of the matter. As you suspected, the merge_simple clause involving
A < B reports conflicts even when no new conflicts are present and the merge is successful.
Adding an attachment to an existing conflict situation just exposes the issue. Kocolosk found
a nice simple solution[1] that runs all the tests including the new etap we added. See what
you think and if you agree we can turn it into a patch. I'm going to add some more tests there
while I'm at it.




> Attachments that have recovered from conflict do not accept attachments.
> ------------------------------------------------------------------------
>                 Key: COUCHDB-902
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>         Environment: trunk
>            Reporter: Paul Joseph Davis
>            Priority: Critical
>         Attachments: 0001-Fix-COUCHDB-902.patch,
> Apparently if a document has been in a conflict, they will reject requests to add an
attachment with a conflict error.
> I've tracked this down to couch_db_updater.erl line 501, but I'm not too familiar with
this part of the code so I figured I'd fill out a ticket in case anyone else can go through
this more quickly than me.
> Sure would be nice if I could attach a file when I create an issue...

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

View raw message