[ 
https://issues.apache.org/jira/browse/ACCUMULO-4016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941522#comment-14941522
 ] 

Eric Newton commented on ACCUMULO-4016:
---------------------------------------

ACCUMULO-2292 modified TraceRunnable to forward equals to compareTo. The 
compareTo on CompactionRunner will return 0 when the objects are not the same.  
Therefore, the CompactionRunner, wrapped by a TraceRunnable would use compareTo 
to remove objects from the queue. If the number of files in a tablet changed 
due to bulk import, the remove might remove the wrong object.

Thanks to [~kturner] for finding this little gem.

This may also be another cause for ACCUMULO-3462.

> compaction queued, but not running
> ----------------------------------
>
>                 Key: ACCUMULO-4016
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4016
>             Project: Accumulo
>          Issue Type: Bug
>          Components: tserver
>    Affects Versions: 1.5.4, 1.6.3, 1.6.4, 1.7.0
>            Reporter: Eric Newton
>            Assignee: Eric Newton
>            Priority: Critical
>             Fix For: 1.6.5, 1.7.1
>
>
> Monitor is showing zero compactions running but some queued for long periods 
> of time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to