[ https://issues.apache.org/jira/browse/HBASE-22086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16827180#comment-16827180 ]
Josh Elser commented on HBASE-22086: ------------------------------------ {quote}This breaks TestQuotaTableUtil.testDeleteSnapshots. {quote} Sorry about that Duo. How did we miss this? QA looks like it ran hbase-server tests: [https://builds.apache.org/job/PreCommit-HBASE-Build/67/testReport/org.apache.hadoop.hbase.quotas/TestQuotaTableUtil/]. Some other change came in after QA but before I committed, maybe? {quote}Will amend the addendum to the original patch as well in that case and will upload.{quote} SGTM. You doing the branch-2 patch(es) at the same time too, please? > space quota issue: deleting snapshot doesn't update the usage of table > ---------------------------------------------------------------------- > > Key: HBASE-22086 > URL: https://issues.apache.org/jira/browse/HBASE-22086 > Project: HBase > Issue Type: Bug > Reporter: Ajeet Rai > Assignee: Sakthi > Priority: Minor > Labels: Quota, space > Fix For: 3.0.0 > > Attachments: hbase-22086.addendum.patch, > hbase-22086.master.001.patch, hbase-22086.master.002.patch, > hbase-22086.master.003.patch, hbase-22086.master.004.patch, > hbase-22086.master.005.patch > > > space quota issue: deleting snapshot doesn't update the usage of table > Steps: 1: > set_quota TYPE => SPACE, TABLE => 'bugatti', LIMIT => '7M', POLICY => > NO_WRITES_COMPACTIONS > 2: ./hbase pe --table="bugatti" --nomapred --rows=200 sequentialWrite 10 > 3: ./hbase pe --table="bugatti" --nomapred --rows=200 sequentialWrite 10 > 4: snapshot 'bugatti','bugatti_snapshot' > 5: ./hbase pe --table="bugatti" --nomapred --rows=200 sequentialWrite 10 > 6: major_compact 'bugatti' > 7: delete_snapshot 'bugatti_snapshot' > now check the usage and observe that it is not getting updated. -- This message was sent by Atlassian JIRA (v7.6.3#76005)