[
https://issues.apache.org/jira/browse/PHOENIX-4271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16190215#comment-16190215
]
Samarth Jain commented on PHOENIX-4271:
---------------------------------------
Looks like we are disabling all local indexes even though the failed write
happened for another local index.
This code in PhoenixIndexFailurePolicy suggests that we are disabling all local
indexes.
{code}
// If the data table has local index column families then get local indexes to
disable.
if
(ref.getTableName().equals(env.getRegion().getTableDesc().getNameAsString())
&&
MetaDataUtil.hasLocalIndexColumnFamily(env.getRegion().getTableDesc())) {
for (String tableName : getLocalIndexNames(ref, mutations)) {
indexTableNames.put(tableName, minTimeStamp);
}
} else {
indexTableNames.put(ref.getTableName(), minTimeStamp);
}
{code}
[~jamestaylor]
> MutableIndexFailureIT failing for local indexes on 4.x-HBase-1.2 branch
> -----------------------------------------------------------------------
>
> Key: PHOENIX-4271
> URL: https://issues.apache.org/jira/browse/PHOENIX-4271
> Project: Phoenix
> Issue Type: Bug
> Reporter: Samarth Jain
>
> https://builds.apache.org/job/Phoenix-4.x-HBase-1.2/196/testReport/junit/org.apache.phoenix.end2end.index/MutableIndexFailureIT/testIndexWriteFailure_MutableIndexFailureIT_transactional_false_localIndex_true_isNamespaceMapped_true_disableIndexOnWriteFailure_true_failRebuildTask_false_throwIndexWriteFailure_null_/
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)