cshannon commented on issue #5096:
URL: https://github.com/apache/accumulo/issues/5096#issuecomment-2494328799

   @keith-turner - In regards to adding multi-threading for scans, I'm planning 
to add a new API call to InstanceOperations that is similar to 
getActiveCompactions(List<ServerId> servers) and I'm wondering what we want to 
do with the custom java 
[iterator](https://github.com/apache/accumulo/blob/bbfd250d8694c210faf31116d199b56570c46f38/shell/src/main/java/org/apache/accumulo/shell/commands/ActiveScanIterator.java#L33)
 used by the shell for the listscans command. 
   
   We could update that to just use the new API call and get back all the scans 
at one time for all the servers and print them out which simplifies things 
compared to now (currently it just makes calls as it loops through the list of 
servers instead of all at once). But we could get a lot of scans back depending 
on how many servers are queried at once. We could just and limit the number of 
servers we query at one time (maybe break the server list into chunks) but I'm 
also thinking we may just not need to worry about it because if too many scans 
are returned a better regex could be used to limit the results more.


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