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/08/31 19:25:21 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
Committed to 1.7 and {{git merge -sours}} to 1.8 (and thus master).
I did tweak your test in 8a3cc4f04c61847a7dcc9abd24a83c072a35b00f, [~adamjshook]. Would be great if you could double-check my logic.
Finally, if you'd like to be added to our [contributors page|http://accumulo.apache.org/people.html], I'd be happy to add you there. Thanks again for the patch and your effort!
> 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.7.3
>
> Time Spent: 4h 10m
> 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)