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

Index write failures during index rebuilds should not change index table state

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.15.0, 5.1.0, 4.14.3
    • None
    • None

    Description

      With PHOENIX-5018, index full rebuilds are done within UngroupedAggregateRegionObserver coprocessors like index partial rebuilds. Index partial rebuilds have been only used for mutable tables. This means that UngroupedAggregateRegionObserver had been only used for rebuilding mutable tables. With PHOENIX-5018, UngroupedAggregateRegionObserver is now used for both partial and full rebuilds and both immutable and mutable index tables. When an index replay write initiated by UngroupedAggregateRegionObserver fails, the failure is handled by PhoenixIndexFailurePolicy which disables the index table if the index write still fails after it is tried the configured number of times. PhoenixIndexFailurePolicy is also used by the Phoenix client code. However, PhoenixIndexFailurePolicy had been only applied to mutable tables and index write failures never disabled an immutable index table. This behavior has changed with PHOENIX-5018 since UngroupedAggregateRegionObserver is also used to rebuild immutable index tables. Index rebuild failures should not disable immutable tables (and mutable tables).

      Attachments

        1. PHOENIX-5473.master.04.patch
          3 kB
          Kadir OZDEMIR
        2. PHOENIX-5473.4.14-HBase-1.4.01.patch
          3 kB
          Kadir OZDEMIR
        3. PHOENIX-5473.4.14-HBase-1.4.addendum.patch
          3 kB
          Kadir OZDEMIR
        4. PHOENIX-5473.master.03.patch
          11 kB
          Kadir OZDEMIR
        5. PHOENIX-5473.master.02.patch
          11 kB
          Kadir OZDEMIR
        6. PHOENIX-5473.master.01.patch
          6 kB
          Kadir OZDEMIR

        Issue Links

          Activity

            People

              kozdemir Kadir OZDEMIR
              kozdemir Kadir OZDEMIR
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 1h 10m
                  1h 10m