DomGarguilo commented on code in PR #4208:
URL: https://github.com/apache/accumulo/pull/4208#discussion_r1474978997
##########
server/manager/src/main/java/org/apache/accumulo/manager/tableOps/tableImport/PopulateMetadataTable.java:
##########
@@ -176,6 +183,12 @@ public Repo<Manager> call(long tid, Manager manager)
throws Exception {
sawHostingGoal = false;
}
+ if (initialHostingGoal != null) {
+ // add the initial hosting goal
+ HostingColumnFamily.GOAL_COLUMN.put(m,
+ TabletHostingGoalUtil.toValue(initialHostingGoal));
+ sawHostingGoal = true;
+ }
Review Comment:
I think this logic can be cleaned up though now that we will not allow the
hosting goal in `ImportConfigurationImpl`. It will make it so that this should
never be null.
--
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]