accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phrocker <>
Subject [GitHub] accumulo pull request #204: ACCUMULO-4574 Modified TableOperations online to...
Date Mon, 23 Jan 2017 16:51:11 GMT
Github user phrocker commented on a diff in the pull request:
    --- Diff: core/src/main/java/org/apache/accumulo/core/client/impl/
    @@ -1209,6 +1209,15 @@ public void online(String tableName) throws AccumuloSecurityException,
       public void online(String tableName, boolean wait) throws AccumuloSecurityException,
AccumuloException, TableNotFoundException {
         checkArgument(tableName != null, "tableName is null");
         String tableId = Tables.getTableId(context.getInstance(), tableName);
    +    /**
    +     * ACCUMULO-4574 if table is already online return without executing fate operation.
    +     */
    +    TableState expectedState = Tables.getTableState(context.getInstance(), tableId);
    --- End diff --
    Why not clear the zoocache then? Further, why not clear that individual path to avoid
impacting every other thread?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message