keith-turner commented on code in PR #3294:
URL: https://github.com/apache/accumulo/pull/3294#discussion_r1167254726
##########
core/src/main/java/org/apache/accumulo/core/metadata/schema/MetadataSchema.java:
##########
@@ -357,10 +358,18 @@ public static class ExternalCompactionColumnFamily {
public static final Text NAME = new Text(STR_NAME);
}
- public static class OnDemandAssignmentStateColumnFamily {
- public static final String STR_NAME = "ondemand";
+ public static class HostingColumnFamily {
+ public static final String STR_NAME = "hosting";
public static final Text NAME = new Text(STR_NAME);
+ public static final String GOAL_QUAL = "goal";
+ public static final ColumnFQ GOAL_COLUMN = new ColumnFQ(NAME, new
Text(GOAL_QUAL));
+ public static final String ALWAYS_GOAL = TabletHostingGoal.ALWAYS.name();
+ public static final String ONDEMAND_GOAL =
TabletHostingGoal.ONDEMAND.name();
+ public static final String NEVER_GOAL = TabletHostingGoal.NEVER.name();
Review Comment:
The way these are used I think they could be inlined
--
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]