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

ShellServerIT.deleteRows might fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.6.1
    • 1.6.3, 1.7.0
    • test
    • None

    Description

      Saw a failure in ShellServerIT#deleteRows where one tablet had 2 files instead of the expected one. The test roughly does the following:

      1. Create a table
      2. Add 2 splits to that table (3 tablets)
      3. Add 10 records (split "evenly" across the tablets)
      4. Flush the table (spill memory to disk)
      5. Check that each tablet has one file.

      The problem with the test is that while step 3 is happening, one of the new tablets could be migrated to the other tablet server. This would cause a minc (and write a file). Step3 would eventually finish, and then step4 would cause another minc (and file) on the tablet that was migrated. This would result in two rfiles for the tablet instead of the expected one.

      Need to update the test so that it accounts for this possibility.

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            0 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