Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-4476

Compactions must fail if column tracker gets columns out of order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.92.0, 0.94.0
    • None
    • None
    • Reviewed

    Description

      We found this in ScanWildcardColumnTracker:

      // new col < oldcol
      // if (cmp < 0) {
      // WARNING: This means that very likely an edit for some other family
      // was incorrectly stored into the store for this one. Continue, but
      // complain.
      LOG.error("ScanWildcardColumnTracker.checkColumn ran " +
      "into a column actually smaller than the previous column: " +

      This went under the radar in our dark launch cluster when a column family name was misspelled first, but then was "renamed" by renaming directories in the HBase storage directory tree. We ended up with inconsistent data, but compactions still succeeded most of the time, likely discarding part of input data.

      Attachments

        Activity

          People

            mikhail Mikhail Gryzykhin
            mikhail Mikhail Gryzykhin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: