phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3955) Ensure KEEP_DELETED_CELLS, REPLICATION_SCOPE, and TTL properties stay in sync between the physical data table and index tables
Date Mon, 11 Jun 2018 21:06:00 GMT

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

ASF GitHub Bot commented on PHOENIX-3955:
-----------------------------------------

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

    https://github.com/apache/phoenix/pull/304#discussion_r194539685
  
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
---
    @@ -98,14 +84,7 @@
     import javax.annotation.concurrent.GuardedBy;
     
     import org.apache.hadoop.conf.Configuration;
    -import org.apache.hadoop.hbase.HColumnDescriptor;
    -import org.apache.hadoop.hbase.HConstants;
    -import org.apache.hadoop.hbase.HRegionLocation;
    -import org.apache.hadoop.hbase.HTableDescriptor;
    -import org.apache.hadoop.hbase.NamespaceDescriptor;
    -import org.apache.hadoop.hbase.NamespaceNotFoundException;
    -import org.apache.hadoop.hbase.TableExistsException;
    -import org.apache.hadoop.hbase.TableName;
    +import org.apache.hadoop.hbase.*;
    --- End diff --
    
    Are you using the phoenix code template https://phoenix.apache.org/develop.html ?


> Ensure KEEP_DELETED_CELLS, REPLICATION_SCOPE, and TTL properties stay in sync between
the physical data table and index tables
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-3955
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3955
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Samarth Jain
>            Assignee: Chinmay Kulkarni
>            Priority: Major
>
> We need to make sure that indexes inherit the REPLICATION_SCOPE, KEEP_DELETED_CELLS and
TTL properties from the base table. Otherwise we can run into situations where the data was
removed (or not removed) from the data table but was removed (or not removed) from the index.
Or vice-versa. We also need to make sure that any ALTER TABLE SET TTL or ALTER TABLE SET KEEP_DELETED_CELLS
statements propagate the properties to the indexes too.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message