directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (MAVIBOT-10) Add a Replace method
Date Fri, 29 Nov 2013 11:36:37 GMT

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

Emmanuel Lecharny resolved MAVIBOT-10.
--------------------------------------

    Resolution: Fixed

The insert() method does not rally handle all the use cases.

Fixed with http://svn.apache.org/r1546538

> Add a Replace method
> --------------------
>
>                 Key: MAVIBOT-10
>                 URL: https://issues.apache.org/jira/browse/MAVIBOT-10
>             Project: Mavibot
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-M1
>            Reporter: Emmanuel Lecharny
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.0.0-M3
>
>
> Currently, if we want to replace an old value by a new one, we have no other way than
dropping the old value, and to add the new value. This results into 2 operations, when the
BTree should be updated only once.
> Adding an replace(K, oldVal, newVal) would be very good.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message