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

Josh Elser commented on ACCUMULO-4428:
--------------------------------------

bq. Happy to work on this and get you a PR – I need to patch the GC anyway and 
run it manually to clean up the files. I was thinking of just making the 
firstSeenDead map static. I don't see a change like that having any adverse 
side effects.

That would be awesome, [~adamjshook]!

> GC does not delete WAL files belonging to dead tservers
> -------------------------------------------------------
>
>                 Key: ACCUMULO-4428
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4428
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.7.2
>            Reporter: Adam J Shook
>            Assignee: Michael Wall
>            Priority: Blocker
>             Fix For: 1.7.3
>
>
> The GarbageCollectWriteAheadLogs uses a Map<HostAndPort,Long> to track when 
> it had first seen a dead tserver, waiting an hour before deleting the files.  
> However, a new instance of this class is re-created during each run of the 
> SimpleGarbageCollector, causing the state of the dead tservers to be lost.  
> All of the WAL files belonging to a dead tserver will never be removed.



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

Reply via email to