accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject accumulo git commit: ACCUMULO-3462 stop the span during finally clause
Date Mon, 05 Jan 2015 21:03:00 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master b90b123e1 -> 44ad36ca6


ACCUMULO-3462 stop the span during finally clause


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

Branch: refs/heads/master
Commit: 44ad36ca65a4fb222ade06981e0a63260a32b16f
Parents: b90b123
Author: Eric C. Newton <eric.newton@gmail.com>
Authored: Mon Jan 5 16:02:01 2015 -0500
Committer: Eric C. Newton <eric.newton@gmail.com>
Committed: Mon Jan 5 16:02:01 2015 -0500

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


http://git-wip-us.apache.org/repos/asf/accumulo/blob/44ad36ca/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 5690dce..7279953 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
@@ -2100,8 +2100,8 @@ public class Tablet implements TabletCommitter {
         span.data("read", "" + majCStats.getEntriesRead());
         span.data("written", "" + majCStats.getEntriesWritten());
       }
+      span.stop();
     }
-    span.stop();
     long count = 0;
     if (majCStats != null)
       count = majCStats.getEntriesRead();


Mime
View raw message