milleruntime commented on a change in pull request #395: ACCUMULO-4835 Make TableOps throw TableNotFound URL: https://github.com/apache/accumulo/pull/395#discussion_r172560082
########## File path: core/src/main/java/org/apache/accumulo/core/client/impl/TableOperationsImpl.java ########## @@ -1072,6 +1072,8 @@ private void waitForTableStateTransition(String tableId, TableState expectedStat if (Tables.getTableState(context.getInstance(), tableId) != expectedState) { if (!Tables.exists(context.getInstance(), tableId)) throw new TableDeletedException(tableId); + if (Tables.getTableState(context.getInstance(), tableId) == TableState.DELETING) Review comment: I thought about that but then was thinking that the state could change in that time. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services