couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damien Katz (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (COUCHDB-997) Prevent multiple keys from entering a btree.
Date Thu, 13 Oct 2011 18:27:12 GMT

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

Damien Katz resolved COUCHDB-997.
---------------------------------

    Resolution: Won't Fix
      Assignee: Damien Katz

We should rely on callers to the btree to make sure they don't introduce duplicates. If they
don't, the bug should be fixed in the caller. Adding extra logic to elimnate duplicates silently
may cause more problems, and isn't as correct as the callers doing the right things.
                
> Prevent multiple keys from entering a btree.
> --------------------------------------------
>
>                 Key: COUCHDB-997
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-997
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: Paul Joseph Davis
>            Assignee: Damien Katz
>
> s/sort/usort/ at https://github.com/apache/couchdb/blob/trunk/src/couchdb/couch_btree.erl#L181
> This should be completely transparent and incur minimal overhead. This hasn't bitten
us quite yet, but it would've prevented some of the crazier behavior from COUCHDB-968

--
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

        

Mime
View raw message