You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Jeffrey Manno (Jira)" <ji...@apache.org> on 2021/06/03 21:23:00 UTC

[jira] [Resolved] (ACCUMULO-2638) MultiReader type safety in PriorityBuffer

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

Jeffrey Manno resolved ACCUMULO-2638.
-------------------------------------
    Resolution: Not A Problem

All cases of PriorityBuffer were removed and replaced with PriorityQueue. This was handled in 
[https://github.com/apache/accumulo/pull/1110]

> MultiReader type safety in PriorityBuffer
> -----------------------------------------
>
>                 Key: ACCUMULO-2638
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2638
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: tserver
>    Affects Versions: 1.6.0
>            Reporter: Mike Drob
>            Priority: Major
>
> MultiReader uses a PriorityBuffer, which is not a generic container. Elements returned are of type Object, which is dangerous for type safety.
> This should be replaced with a type safe implementations, maybe guava or commons has something.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)