You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "guluo (Jira)" <ji...@apache.org> on 2025/01/20 14:49:00 UTC

[jira] [Created] (HBASE-29088) The denominator cannot be 0 when calculating percentages in SnapshotStats

guluo created HBASE-29088:
-----------------------------

             Summary: 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


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)