You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2014/12/15 20:47:13 UTC

[jira] [Resolved] (ACCUMULO-3400) VolumeManager should validate the choice that a VolumeChooser makes

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

Christopher Tubbs resolved ACCUMULO-3400.
-----------------------------------------
    Resolution: Fixed

Fixed here for 1.6 branch. Fixed in ACCUMULO-3393 for 1.7 branch.

> VolumeManager should validate the choice that a VolumeChooser makes
> -------------------------------------------------------------------
>
>                 Key: ACCUMULO-3400
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3400
>             Project: Accumulo
>          Issue Type: Task
>    Affects Versions: 1.6.1
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>             Fix For: 1.6.2, 1.7.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The return value of the VolumeChooser.choose() method should be verified to actually exist in the set of volumes available to the Accumulo instance.
> No VolumeChooser which exists in Accumulo code actually does this today (including the ones added by ACCUMULO-3177 and ACCUMULO-3178), but it's a good sanity check to have, to prevent future mistakes and programming errors. It would also be good to have, in order to enforce the API contract of the VolumeChooser, in case other implementations are provided by external developers.



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