tephra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From poornachandra <...@git.apache.org>
Subject [GitHub] incubator-tephra pull request #29: TEPHRA-212 Perform writes to prune state ...
Date Wed, 01 Feb 2017 00:23:17 GMT
Github user poornachandra commented on a diff in the pull request:

    --- Diff: tephra-hbase-compat-1.1-base/src/main/java/org/apache/tephra/hbase/coprocessor/TransactionProcessor.java
    @@ -324,9 +326,14 @@ public InternalScanner preCompactScannerOpen(ObserverContext<RegionCoprocessorEn
             String pruneTable = conf.get(TxConstants.TransactionPruning.PRUNE_STATE_TABLE,
    -        compactionState = new CompactionState(c.getEnvironment(), TableName.valueOf(pruneTable));
    -        LOG.debug("Automatic invalid list pruning is enabled. Compaction state will be
recorded in table " +
    -                    pruneTable);
    +        long pruneFlushInterval = TimeUnit.SECONDS.toMillis(
    --- End diff --
    This line, and the line above getting `pruneTable` can also move into the if condition,

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 infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message