accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From keith-turner <...@git.apache.org>
Subject [GitHub] accumulo pull request: ACCUMULO-3645 Run iterators at major compac...
Date Tue, 17 Mar 2015 14:27:41 GMT
Github user keith-turner commented on a diff in the pull request:

    https://github.com/apache/accumulo/pull/22#discussion_r26576646
  
    --- Diff: server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
---
    @@ -1913,20 +1918,22 @@ private CompactionStats _majorCompact(MajorCompactionReason reason)
throws IOExc
                 // compaction was canceled
                 return majCStats;
               }
    +          compactionIterators = compactionId.getSecond().getIterators();
     
               synchronized (this) {
    -            if (lastCompactID >= compactionId.getFirst())
    +            // ACCUMULO-3645 run if there are compaction iterators that may generate
entries
    +            if (lastCompactID >= compactionId.getFirst() && compactionIterators.isEmpty())
    --- End diff --
    
    if the user req compaction is already done then should not continue


---
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.
---

Mime
View raw message