ACCUMULO-3249 Clarify some comments

Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/d75be63c
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/d75be63c
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/d75be63c

Branch: refs/heads/master
Commit: d75be63cf3e11e4d73289ed2adcf105d2bfc23fc
Parents: 24921c7
Author: Josh Elser <[email protected]>
Authored: Wed Oct 22 13:14:57 2014 -0400
Committer: Josh Elser <[email protected]>
Committed: Thu Oct 23 11:18:33 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/d75be63c/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
----------------------------------------------------------------------
diff --git 
a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java 
b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
index caff246..85af110 100644
--- 
a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
+++ 
b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
@@ -633,7 +633,8 @@ public class Tablet implements TabletCommitter {
           logEntries.clear();
         } else if (ReplicationConfigurationUtil.isEnabled(extent, 
tabletServer.getTableConfiguration(extent))) {
           // The logs are about to be re-used, we need to record that they 
have data for this extent,
-          // but that they may get more data
+          // but that they may get more data. logEntries is not cleared which 
will cause the elements
+          // in logEntries to be added to the currentLogs for this Tablet 
below.
           Status status = StatusUtil.openWithUnknownLength();
           for (LogEntry logEntry : logEntries) {
             log.debug("Writing updated status to metadata table for " + 
logEntry.logSet + " " + ProtobufUtil.toString(status));

Reply via email to