You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/07/29 02:59:38 UTC

[jira] [Commented] (PHOENIX-916) Time clock skew issue when SYSTEM.CATALOG moves between region servers

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

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

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

    https://github.com/apache/phoenix/pull/6#discussion_r15501164
  
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/query/QueryServices.java ---
    @@ -113,6 +113,17 @@
         // The following config settings is to deal with SYSTEM.CATALOG moves(PHOENIX-916) among region servers
         public static final String CLOCK_SKEW_INTERVAL_ATTRIB = "phoenix.clock.skew.interval";
         
    +    // A master switch if to enable auto rebuild an index which failed to be updated previously 
    +    public static final String INDEX_FAILURE_HANDLING_REBUILD = "phoenix.index.failure.handling.rebuild";
    --- End diff --
    
    Add _ATTRIB to follow convention. Maybe INDEX_PARTIAL_REBUILD_ATTRIB?


> Time clock skew issue when SYSTEM.CATALOG moves between region servers
> ----------------------------------------------------------------------
>
>                 Key: PHOENIX-916
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-916
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 4.0.0, 5.0.0
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>            Priority: Critical
>             Fix For: 5.0.0, 3.1, 4.1
>
>         Attachments: phoenix-916-v2.patch, phoenix-916-v3.patch, phoenix-916.patch
>
>
> Since we rely on the sever time stamp of RS which is hosting SYSTEM.CATALOG. When the table moves to another region server, the server time may decrease(increasing is all right). This may cause a query doesn't return anything though it should be.



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