You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ajeet Rai (JIRA)" <ji...@apache.org> on 2019/02/13 13:31:00 UTC

[jira] [Created] (HBASE-21893) Space quota: Usage is not getting calculated correctly if snapshot is created on a table then deleted and created again

Ajeet Rai created HBASE-21893:
---------------------------------

             Summary: Space quota: Usage is not getting calculated correctly if snapshot is created on a table then deleted and created again
                 Key: HBASE-21893
                 URL: https://issues.apache.org/jira/browse/HBASE-21893
             Project: HBase
          Issue Type: Bug
            Reporter: Ajeet Rai


*Steps  to reproduce:*

1: ./hbase pe --table="bugatti" --nomapred --rows=400 sequentialWrite 10 (will put 4 mb data)
2: set_quota TYPE => SPACE, TABLE => 'bugatti', LIMIT => '7M', POLICY => NO_WRITES_COMPACTIONS
3: snapshot 'bugatti','bugatti_snapshot'
4: disable 'bugatti'
5: drop 'bugatti'
6: create 'bugatti','info0'
7: set_quota TYPE => SPACE, TABLE => 'bugatti', LIMIT => '5M', POLICY => NO_WRITES_COMPACTIONS
8: scan 'bugatti'
>> Observe that no data here and original snapshot size was 4 MB. but current usage is shown as 8 MB



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)