keith-turner opened a new issue #2371: URL: https://github.com/apache/accumulo/issues/2371
In the following code there is a while loop, however in the while loop the variable `i` does not change which seems like a bug. If the while loop will execute more than once then it will add the same split multiple times which seems like a bug. https://github.com/apache/accumulo/blob/45a4a93d2926760d6a916ae2da1d7e668ec4dcb1/core/src/main/java/org/apache/accumulo/core/clientImpl/TableOperationsImpl.java#L706-L710 Not completely sure if the while loop could execute more than once, needs further investigation. If the outer variable `r` could be greater than 1, then it seems like the while loop could execute more than once. If the while loop could never execute more than once then maybe it could be changed to an if stmt. -- 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]
