You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2018/03/06 15:46:13 UTC
[GitHub] milleruntime commented on a change in pull request #395: ACCUMULO-4835 Make TableOps throw TableNotFound
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:
users@infra.apache.org
With regards,
Apache Git Services