You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2020/04/15 20:58:59 UTC

[GitHub] [accumulo] keith-turner edited a comment on issue #1588: Investigate avoiding file rename in major compactions

keith-turner edited a comment on issue #1588: Investigate avoiding file rename in major compactions
URL: https://github.com/apache/accumulo/issues/1588#issuecomment-614271826
 
 
   Two possible solutions to the problem of failed compactions leaving files around.
   
    * Could place an entry in the metadata table like `row=<tablet row> family=compacting qualifier=<uri>` for files currently being created by compactions.  When a tablet is loaded it looks for these and deletes the URIs and then the metadata entries.  When a file is added to the metadata table for a compaction, it can delete the `compacting` family and add the `file` family atomically in the same mutation.
    * Could create a tool that looks for files in DFS that are not in metadata table.  Admins could periodically run this tool.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services