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

MockTable doesn't obey useVersions parameter

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.1, 1.5.0
    • Fix Version/s: 1.4.2, 1.5.0
    • Component/s: test
    • Labels:

      Description

      The constructor for MockTable will call IteratorUtil.generateInitialTableProperties(), and thus set a versioning iterator on itself regardless of whether the useVersion parameter is set to true or false.

      I believe MockTable's constructor should call IteratorUtil.generateInitialTableProperties() only if useVersions is true, otherwise, it should populate settings with a new TreeMap

        Attachments

        1. ACCUMULO-795.patch
          9 kB
          Drew Farris
        2. ACCUMULO-795.patch
          9 kB
          Drew Farris
        3. ACCUMULO-795.patch
          4 kB
          Drew Farris
        4. ACCUMULO-795.patch
          5 kB
          Drew Farris
        5. ACCUMULO-795.patch
          3 kB
          Drew Farris

          Activity

            People

            • Assignee:
              drew.farris Drew Farris
              Reporter:
              drew.farris Drew Farris
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: