keith-turner commented on a change in pull request #2152:
URL: https://github.com/apache/accumulo/pull/2152#discussion_r648450096



##########
File path: 
core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletsMetadata.java
##########
@@ -87,13 +91,20 @@
     private TableId tableId;
     private ReadConsistency readConsistency = ReadConsistency.IMMEDIATE;
     private AccumuloClient _client;
+    private Collection<KeyExtent> extents;
 
     Builder(AccumuloClient client) {
       this._client = client;
     }
 
     @Override
     public TabletsMetadata build() {
+      if (extents != null) {
+        Preconditions.checkState(
+            range == null && table == null && level == DataLevel.USER && 
!checkConsistency);
+        return buildExtents(_client);
+      }

Review comment:
       
   adde comment in 52b75b1




-- 
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:
[email protected]


Reply via email to