accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Resolved] (ACCUMULO-4428) GC does not delete WAL files belonging to dead tservers
Date Wed, 31 Aug 2016 19:25:21 GMT


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|],
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:
>             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

View raw message