Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5651

IndexScrutiny does not handle TTL/row-expiry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • 4.15.1, 4.14.3
    • 5.1.0, 4.15.1, 4.16.0
    • None
    • None

    Description

      If a data-table has TTL on it, it's indexes inherit the TTL too. Hence when we run IndexScrutiny on such tables and it's indexes, scrutiny's attempts to find matching index rows for near-expiry data rows results in no-matches since the index row gets expired before the read from data-region mapper. The same happens in the MR job for the other direction Index->Data.

      This does not impact correctness of indexing design, but makes it very inconvenient to get a clean scrutiny run. All reported invalid rows have to be matched against the table TTL, which is non-trivial exercise.

      IndexScrutiny itself could detect such expired rows when the matching pair is not found and not report them as INVALID_ROWS. Perhaps a new counter for EXPIRED_ROWS should be added as well for better visibility. 

      Attachments

        1. PHOENIX-5651.4.x-HBase-1.3.patch
          35 kB
          Swaroopa Kadam
        2. PHOENIX-5651.4.x-HBase-1.3.v1.patch
          32 kB
          Swaroopa Kadam
        3. PHOENIX-5651.4.x-HBase-1.3.v2.patch
          34 kB
          Swaroopa Kadam
        4. PHOENIX-5651.master.v1.patch
          34 kB
          Swaroopa Kadam
        5. PHOENIX-5651.master.v2.patch
          34 kB
          Swaroopa Kadam

        Issue Links

          Activity

            People

              swaroopa Swaroopa Kadam
              priyankporwal Priyank Porwal
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 3h 50m
                  3h 50m