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


##########
server/base/src/main/java/org/apache/accumulo/server/constraints/MetadataConstraints.java:
##########
@@ -100,7 +101,7 @@ public class MetadataConstraints implements Constraint {
           ChoppedColumnFamily.NAME,
           ClonedColumnFamily.NAME,
           ExternalCompactionColumnFamily.NAME,
-          OnDemandAssignmentStateColumnFamily.NAME);
+          HostingColumnFamily.NAME);

Review Comment:
   Suggestion applied in cd223b6



##########
server/base/src/main/java/org/apache/accumulo/server/constraints/MetadataConstraints.java:
##########
@@ -201,7 +203,9 @@ public List<Short> check(Environment env, Mutation 
mutation) {
       }
 
       if (columnUpdate.getValue().length == 0 && 
!columnFamily.equals(ScanFileColumnFamily.NAME)
-          && !columnFamily.equals(OnDemandAssignmentStateColumnFamily.NAME)) {
+          && 
!(columnFamily.equals(HostingColumnFamily.REQUESTED_COLUMN.getColumnFamily())
+              && columnQualifier
+                  
.equals(HostingColumnFamily.REQUESTED_COLUMN.getColumnQualifier()))) {

Review Comment:
   Suggestion applied in cd223b6



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