phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-1584) Ensure stats are correct if simultaneous split and merge
Date Thu, 15 Jan 2015 07:04:34 GMT


ramkrishna.s.vasudevan commented on PHOENIX-1584:

When the stats is calculated during compaction it is an absolute measure.  But during splits
we have an approximation while calculating the percentage.  That leads to this variation.

> Ensure stats are correct if simultaneous split and merge
> --------------------------------------------------------
>                 Key: PHOENIX-1584
>                 URL:
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: James Taylor
>            Assignee: ramkrishna.s.vasudevan
> During splits, we update the rowCount and byteCount via StatisticsWriter.splitStats()
and at the same time compaction also updates the stats. So we are not able to get a consistent
result for the rowCount and byteCount under these conditions.  So for now these are not asserted
when doing a select from the STATS table in the statistics unit tests.  However on the client
side it is asserted. All tests passes with this.

This message was sent by Atlassian JIRA

View raw message