ArbaazKhan1 commented on code in PR #5340:
URL: https://github.com/apache/accumulo/pull/5340#discussion_r2032077342


##########
core/src/main/java/org/apache/accumulo/core/metadata/schema/TabletMetadata.java:
##########
@@ -558,6 +559,26 @@ private static Optional<TServerInstance> 
checkServer(ClientContext context, Stri
         .map(address -> new TServerInstance(address, 
stat.getEphemeralOwner()));
   }
 
+  public static void validate(TabletMetadata tm) {
+    if (!tm.fetchedCols.contains(ColumnType.FILES) || !tm.sawPrevEndRow) {

Review Comment:
   When I was testing the code I noticed that when I made the change from 
`!tm.sawPrevEndRow` to `!tm.fetchedCols.contains(ColumnType.PREV_ROW)` it would 
throw an error for not having seen PrevEndRow. From my understanding 
fetchedCols should have PrevEndRow within it when the error happens but for 
some reason its not getting seen. 



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