couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-1065) couch_db_updater calls couch_key_tree incorrectly
Date Tue, 15 Feb 2011 04:08:57 GMT

    [ 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

        

Mime
View raw message