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 2018/12/05 19:43:47 UTC

[GitHub] keith-turner opened a new issue #798: Compaction and flush operations do not properly handle the root table

keith-turner opened a new issue #798: Compaction and flush operations do not properly handle the root table
URL: https://github.com/apache/accumulo/issues/798
 
 
   While working on #797 I noticed that the compaction and flush client operations do not properly handle the root table.  The problem is the code in CompactionDriver and MasterClientServiceHandler.  Both of these scan the metadata table to see what tablets need to be flushed or compacted.  For the root table both of them them scan the metadata table.
   
   This problem exists in 1.9.  The code kinda works in that it will cause a flush of the root table, however it will never wait for that flush to complete.  The compaction code does not work at all for the root table.  However, compaction is proceeded by a flush by default which will trigger a compaction with the default config of a compaction ratio of 1 for the root table.  So in 1.9 if someone changed the root table config or disabled flush before compact, then the compact would be a noop.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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