accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-4062) Change MutationSet.mutations to use HashSet
Date Fri, 20 Nov 2015 16:52:11 GMT

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

Keith Turner commented on ACCUMULO-4062:
----------------------------------------

I am uncertain the batch writer provides this currently.  Before we get the point of having
a {{Map<String, Map<KeyExtent, List<Mutations>>>}} the batchwriter bins
a batch of mutations by tablet server and tablet.   I pretty sure there was no intentional
attempt to make this binning code preserve order.  However that code may preserve order unintentionally,
who knows.

> Change MutationSet.mutations to use HashSet
> -------------------------------------------
>
>                 Key: ACCUMULO-4062
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4062
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: client
>            Reporter: Dave Marion
>
> Change TabletServerBatchWriter.MutationSet.mutations from a
> {code}
>   HashMap<String,List<Mutation>>
> {code}
> to
> {code}
>   HashMap<String,HashSet<Mutation>>
> {code}
> so that duplicate mutations added by a client are not sent to the server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message