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>
- relates to
PHOENIX-1139 Failed to disable local index when index update fails