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/10 19:01:55 UTC

[GitHub] keith-turner opened a new issue #817: Refactor tablet loading code to use TabletMetadata

keith-turner opened a new issue #817: Refactor tablet loading code to use TabletMetadata
URL: https://github.com/apache/accumulo/issues/817
 
 
   The code that loads tablets could be simplified if it used the new tablet metadata abstraction layer.  
   
   The goal would be to replace the `SortedMap<Key,Value>` at [TabletServer line 2464](https://github.com/apache/accumulo/blob/5484fa80022c52784d4000cdd422941fddec1441/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java#L2464) with a [TabletMetadata](https://github.com/apache/accumulo/blob/5484fa80022c52784d4000cdd422941fddec1441/core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletMetadata.java) object.
   
   This would be an involved change because the load process attempts to handle tablets that were partially split.  This code could all be cleaned up to use TabletMetadata.  
   
   It would probably be best to do this change after #798 is done and tablet metadata can be read for the root tablet.  Also since the code to handle partial splits may modify the metadata table, it may be best to do this change after #816.

----------------------------------------------------------------
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