dlmarion commented on code in PR #3409:
URL: https://github.com/apache/accumulo/pull/3409#discussion_r1204615650


##########
core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletMetadata.java:
##########
@@ -505,10 +529,24 @@ public static <E extends Entry<Key,Value>> TabletMetadata 
convertRow(Iterator<E>
               BulkFileColumnFamily.getBulkLoadTid(val));
           break;
         case CurrentLocationColumnFamily.STR_NAME:
-          te.setLocationOnce(val, qual, LocationType.CURRENT);
+          try {
+            te.setLocationOnce(val, qual, LocationType.CURRENT);
+          } catch (IllegalStateException e) {
+            te.futureAndCurrentLocationSet = true;
+            if (!suppressLocationError) {
+              throw e;
+            }
+          }

Review Comment:
   Moved the error suppression logic in 9153726



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to