keith-turner commented on issue #3593:
URL: https://github.com/apache/accumulo/issues/3593#issuecomment-1636094288
> Do we want to cause users of this to break intentionally so that they have
to evaluate their code and use a different API method?
One reason to break it is that code like the following would keep compiling,
but would no longer do anything. Not all usages of
getActiveCompactions(String) have to be tightly coupled to
InstanceOperations.getTabletServers() but its likely some are.
```java
void someUserMethod(AccumuloClient client, Consumer<ActiveCompaction> acc){
var io = client.instanceOperations();
for(String tserver : io.getTabletServers()){
if(match(tserver)) {
acc.accept(io.getActiveCompactions(tserver));
}
}
```
--
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]