Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-950 Improve Secondary Index Update Failure Handling
  3. PHOENIX-1112

Atomically rebuild index partially when index update fails

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0, 4.1.0
    • None
    • None

    Description

      This is a short-term work around & safe approach. Currently we disable an index when index update failed(still possible bring down the whole cluster). After an index is disable, human needs to be involved to rebuild entire index which maybe not ideal.

      The patch adds the support to automatically rebuild an disable index partially from where it failed. In addition, it removes RS abort during WAL recovery to prevent chain failures because we don't have to.

      To disable automatically rebuilding failed index, add the following configuration into hbase-site.xml:

      <property>
         <name>phoenix.index.failure.handling.rebuild</name>
         <value>false</value>
      </property>
      

      Attachments

        1. Phoenix-1112.patch
          46 kB
          Jeffrey Zhong
        2. Phoenix-1112-v2.patch
          55 kB
          Jeffrey Zhong
        3. Phoenix-1112-v3.patch
          63 kB
          Jeffrey Zhong

        Issue Links

          Activity

            People

              jeffreyz Jeffrey Zhong
              jeffreyz Jeffrey Zhong
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: