Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3400

VolumeManager should validate the choice that a VolumeChooser makes

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.1
    • 1.6.2, 1.7.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ctubbsii Christopher Tubbs
              ctubbsii Christopher Tubbs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m