[ 
https://issues.apache.org/jira/browse/HBASE-20935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vishal Khandelwal updated HBASE-20935:
--------------------------------------
    Description: 
if (r != null && r.isCompactedAway() && !r.isReferencedInReads())

If above check fails then there will be some files which are compacted but not 
getting cleaned up. It is good to log which helps in debugging the issue. This 
would let us know why is getting cleaned. either with reference pending or 
compatedaway is not set.

This will help debug issues like :
 # HBASE-20933

  was:
if (r != null && r.isCompactedAway() && !r.isReferencedInReads())

If above check fails then there will be some files which are compacted but not 
getting cleaned up. It is good to log which helps in debugging the issue. This 
would let us know why is getting cleaned. either with reference pending or 
compatedaway is not set.


> HStore.removeCompactedfiles should log incase it unable to delete a file
> ------------------------------------------------------------------------
>
>                 Key: HBASE-20935
>                 URL: https://issues.apache.org/jira/browse/HBASE-20935
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Vishal Khandelwal
>            Assignee: Vishal Khandelwal
>            Priority: Minor
>
> if (r != null && r.isCompactedAway() && !r.isReferencedInReads())
> If above check fails then there will be some files which are compacted but 
> not getting cleaned up. It is good to log which helps in debugging the issue. 
> This would let us know why is getting cleaned. either with reference pending 
> or compatedaway is not set.
> This will help debug issues like :
>  # HBASE-20933



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

Reply via email to