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/11/23 18:22:03 UTC

[GitHub] [accumulo] milleruntime commented on a change in pull request #1799: Add getTabletState to TabletMetadata

milleruntime commented on a change in pull request #1799:
URL: https://github.com/apache/accumulo/pull/1799#discussion_r528907862



##########
File path: core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletMetadata.java
##########
@@ -98,11 +104,10 @@
   }
 
   public enum ColumnType {
-    LOCATION,
+    LOCATION, // includes all types in LocationType + SUSPEND
     PREV_ROW,
     OLD_PREV_ROW,
     FILES,
-    LAST,

Review comment:
       I don't think so.  This enum is used to tell the class what column families to fetch in the scanner created in `TabletsMetadata`.  There is also a check `ensureFetched(ColumnType col)` that is called on the get methods that will throw an error if you didn't fetch the column family associated with that type.




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