You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Adam Kocoloski (JIRA)" <ji...@apache.org> on 2011/02/15 05:08:57 UTC

[jira] Commented: (COUCHDB-1065) couch_db_updater calls couch_key_tree incorrectly

    [ https://issues.apache.org/jira/browse/COUCHDB-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994655#comment-12994655 ] 

Adam Kocoloski commented on COUCHDB-1065:
-----------------------------------------

Wow.  So _purge only works when all revisions of a document are purged, right?  Otherwise it must crash.  Good find Bob.

> couch_db_updater calls couch_key_tree incorrectly
> -------------------------------------------------
>
>                 Key: COUCHDB-1065
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1065
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>            Reporter: Bob Dionne
>
> couch_db_updater at line 123 calls couch_key_tree:map_leafs( fun(RevInfo) -..... incorrectly. The function needs to have two arguments.
> This is readily seen by creating two small dbs with a doc in each having the same id, replicating one to the other and then calling
> _purge

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