Github user twdsilva commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/329#discussion_r211801654
  
    --- Diff: 
phoenix-core/src/main/java/org/apache/phoenix/util/MetaDataUtil.java ---
    @@ -303,6 +303,54 @@ public static long getSequenceNumber(List<Mutation> 
tableMetaData) {
             return getSequenceNumber(getPutOnlyTableHeaderRow(tableMetaData));
         }
         
    +    /**
    +     * Returns the sequence number of the parent table if we have a 
mutation that is updating the
    +     * parent table's encoded column qualifier
    +     */
    +    public static long 
getParentSequenceNumberForAddColumnMutations(List<Mutation> tableMetaData) {
    +        byte[] parentTableRowKey = null;
    +        for (Mutation tableMutation : tableMetaData) {
    --- End diff --
    
    Done. We don't need this because we acquire a mutex on the client side 
which will prevent concurrent changes to the encoded col qualifier counter. 


---

Reply via email to