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

Tags presence file info can be wrong in HFiles when PrefixTree encoding is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.98.0
    • 0.98.0, 0.99.0
    • None
    • None
    • Reviewed

    Description

      We always encode tags in case of Prefix tree now and so the code path, while decoding, not checking what is there in FileInfo. So functionally no issues now.
      If we do HBASE-10453 this change will be very important to make sure BC for old files.

      We use the file info MAX_TAGS_LEN to know the presence of tags in a file. In case of prefix tree we always have tags in files even if all kvs have 0 tags. So better we can add this file info into prefix tree encoded HFiles. Now it get missed.

      Attachments

        1. HBASE-10454_V2.patch
          1 kB
          Anoop Sam John
        2. HBASE-10454.patch
          1 kB
          Anoop Sam John

        Activity

          People

            anoop.hbase Anoop Sam John
            anoop.hbase Anoop Sam John
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: