phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From twdsilva <...@git.apache.org>
Subject [GitHub] phoenix pull request #303: PHOENIX-3534 Support multi region SYSTEM.CATALOG ...
Date Wed, 11 Jul 2018 18:38:42 GMT
Github user twdsilva commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/303#discussion_r201799117
  
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
---
    @@ -1779,13 +2174,65 @@ public void createTable(RpcController controller, CreateTableRequest
request,
                         }
                     }
                     
    +                // The mutations to create a table are written in the following order:
    +                // 1. Write the child link as if the next two steps fail we
    +                // ignore missing children while processing a parent
    +                // 2. Update the encoded column qualifier for the parent table if its
on a
    +                // different region server (for tables that use column qualifier encoding)
    +                // if the next step fails we end up wasting a few col qualifiers
    +                // 3. Finally write the mutations to create the table
    +
    +                // From 4.15 the parent->child links are stored in a separate table
SYSTEM.CHILD_LINK
    +                List<Mutation> childLinkMutations = MetaDataUtil.removeChildLinks(tableMetadata);
    --- End diff --
    
    I filed PHOENIX-4810 and added a comment to reference this jira.


---

Mime
View raw message