You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2016/09/03 22:06:20 UTC
[jira] [Resolved] (ACCUMULO-4428) GC does not delete WAL files
belonging to dead tservers
[ https://issues.apache.org/jira/browse/ACCUMULO-4428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Elser resolved ACCUMULO-4428.
----------------------------------
Resolution: Fixed
Cherry-picked back to 1.6, undo'ing jdk7-isms and some internal API stuff.
> 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: Adam J Shook
> Priority: Blocker
> Fix For: 1.6.6, 1.7.3
>
> Time Spent: 6.5h
> Remaining Estimate: 0h
>
> 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)