[
https://issues.apache.org/jira/browse/HBASE-18108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191996#comment-16191996
]
Peter Somogyi commented on HBASE-18108:
---------------------------------------
We can introduce TimeToLiveProcedureWALCleaner class which will be responsible
for deleting already archived proc WALs. This cleaner can be added to
{{hbase.master.logcleaner.plugins}} config value and in this case we won't need
any additional cleaner threads.
Apart from this the log cleaner validator needs to be modified to handle
procedure WAL files.
To make it consistent we can collect the archived proc WALs at /hbase/oldWALs
directory next to the archived WAL files. Right now we keep those at
/hbase/MasterProcWALs/archive.
> Procedure WALs are archived but not cleaned; fix
> ------------------------------------------------
>
> Key: HBASE-18108
> URL: https://issues.apache.org/jira/browse/HBASE-18108
> Project: HBase
> Issue Type: Sub-task
> Components: proc-v2
> Affects Versions: 2.0.0
> Reporter: stack
> Assignee: Peter Somogyi
> Priority: Blocker
> Fix For: 2.0.0
>
>
> The Procedure WAL files used to be deleted when done. HBASE-14614 keeps them
> around in case issue but what is missing is a GC for no-longer-needed WAL
> files. This one is pretty important.
> From WALProcedureStore Cleaner TODO in
> https://docs.google.com/document/d/1eVKa7FHdeoJ1-9o8yZcOTAQbv0u0bblBlCCzVSIn69g/edit#heading=h.r2pc835nb7vi
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)