EdColeman commented on code in PR #4122:
URL: https://github.com/apache/accumulo/pull/4122#discussion_r1459899393


##########
server/manager/src/main/java/org/apache/accumulo/manager/tableOps/tableImport/PopulateMetadataTable.java:
##########
@@ -131,8 +132,18 @@ public Repo<Manager> call(long tid, Manager manager) 
throws Exception {
             Text cq;
 
             if (key.getColumnFamily().equals(DataFileColumnFamily.NAME)) {
-              final StoredTabletFile oldTabletFile = 
StoredTabletFile.of(key.getColumnQualifier());
-              String oldName = oldTabletFile.getFileName();
+              StoredTabletFile exportedRef;
+              var dataFileCQ = key.getColumnQualifier().toString();
+              if (tableInfo.exportedVersion == null || 
(tableInfo.exportedVersion < VERSION
+                  && StoredTabletFile.fileNeedsConversion(dataFileCQ))) {

Review Comment:
   Added CURR_VERSION and explicit VERSION_2 in 4d136c4c87



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