[
https://issues.apache.org/jira/browse/PHOENIX-2671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15146105#comment-15146105
]
James Taylor commented on PHOENIX-2671:
---------------------------------------
Thanks, [~ankit.singhal]. +1. Very minor nit: no need to initialize timestamp
here, as you're setting it in the if statement:
{code}
+ long timestamp = MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_4_7_0 - 1;
{code}
> System.STATS table getting truncated every time on new client connection
> ------------------------------------------------------------------------
>
> Key: PHOENIX-2671
> URL: https://issues.apache.org/jira/browse/PHOENIX-2671
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.7.0
> Reporter: Mujtaba Chohan
> Assignee: Ankit Singhal
> Priority: Blocker
> Fix For: 4.7.0
>
> Attachments: PHOENIX-2671.patch, PHOENIX-2671_v1.patch,
> PHOENIX-2671_v2.patch
>
>
> Every time a client connects, SYSTEM.STATS table gets truncated.
> Log:
> {code}
> coprocessor.MetaDataRegionObserver: Stats are successfully truncated for
> upgrade 4.7!!
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)