Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-1607

Unable to delete FAILED tablets as part of drop table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • 1.3.1, 1.4.0
    • master
    • None

    Description

      When dropping a table with a failed tablet, the tablet will fail to be deleted. The /tablets endpoint shows its Last Status as: Invalid argument: Unable to delete on-disk data from tablet 2e3b95dba81044748a9a52eb138dd59c: The metadata for tablet 2e3b95dba81044748a9a52eb138dd59c still references orphaned blocks. Call DeleteTabletData() first

      Steps to repro:

      1. Create a table with a single tablet, single replica.
      2. Load enough data to have the WAL roll a segment
      3. Corrupt the magic bytes of a non-current segment
      4. Restart the TS
      5. Drop the table

      Attachments

        Activity

          People

            mpercy Mike Percy
            danburkert Dan Burkert
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: