[ 
https://issues.apache.org/jira/browse/PHOENIX-1147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090960#comment-14090960
 ] 

James Taylor commented on PHOENIX-1147:
---------------------------------------

Excellent job tracking down the root cause of the bugs you found, [~jeffreyz]. 
There's one more occurrence in MetaDataClient that isn't passing the 
fullTableName to connection.removeTable():
{code}
    private MutationCode processMutationResult(String schemaName, String 
tableName, MetaDataMutationResult result) throws SQLException {
        final MutationCode mutationCode = result.getMutationCode();
        PName tenantId = connection.getTenantId();
        switch (mutationCode) {
        case TABLE_NOT_FOUND:
            connection.removeTable(tenantId, tableName);
{code}

Would you mind fixing that too before checking in? Please check-in to all 
branches. Thanks!

> Ensure data table is sent to client if index table changes states
> -----------------------------------------------------------------
>
>                 Key: PHOENIX-1147
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1147
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.0.0, 5.0.0
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>         Attachments: Phoenix-1147-v1.patch, Phoenix-1147-v2.patch, 
> Phoenix-1147-v3.patch, Phoenix-1147-v4.patch
>
>
> Add one test to cover RegionServer being killed while index is begin updated
> Add steps to make sure UPSERT & SELECT should still work after index is 
> disabled.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to