keith-turner commented on code in PR #6057:
URL: https://github.com/apache/accumulo/pull/6057#discussion_r2691885142
##########
server/manager/src/main/java/org/apache/accumulo/manager/ManagerClientServiceHandler.java:
##########
@@ -579,10 +579,12 @@ private void alterTableProperty(TCredentials c, String
tableName, String propert
}
PropUtil.setProperties(manager.getContext(),
TablePropKey.of(manager.getContext(), tableId),
Map.of(property, value));
+ } else {
+ throw new UnsupportedOperationException("table operation:" +
op.name());
Review Comment:
Currently the client code is only calling the RPC w/ the two values.
However this server side code should not ignore seeing something else. This new
throw should cause an error to be logged and TApplicationException on the
client side should this ever happen.
--
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]