You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Pankaj Kumar (Jira)" <ji...@apache.org> on 2025/01/22 01:31:00 UTC
[jira] [Assigned] (HBASE-29088) The denominator cannot be 0 when calculating percentages in SnapshotStats
[ https://issues.apache.org/jira/browse/HBASE-29088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pankaj Kumar reassigned HBASE-29088:
------------------------------------
Assignee: guluo
> The denominator cannot be 0 when calculating percentages in SnapshotStats
> -------------------------------------------------------------------------
>
> Key: HBASE-29088
> URL: https://issues.apache.org/jira/browse/HBASE-29088
> Project: HBase
> Issue Type: Bug
> Environment: hbase master
> centos7
> Reporter: guluo
> Assignee: guluo
> Priority: Major
> Labels: pull-request-available
>
> SnapShotStats.getStoreFilesSize() would return 0 if the table has no any data.
> In this case, when calculating percentages, the denominator would be 0, which is illegal.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)