cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject [1/5] git commit: Remove (buggy) duplicate call to Frame.release
Date Tue, 13 May 2014 12:07:06 GMT
Repository: cassandra
Updated Branches:
  refs/heads/trunk 6f36ebbf9 -> d24513e04


Remove (buggy) duplicate call to Frame.release


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

Branch: refs/heads/trunk
Commit: 2e456f56a604402a4c176c0995f62147a129149a
Parents: 5a79f56
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Tue May 13 10:18:59 2014 +0200
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Tue May 13 10:18:59 2014 +0200

----------------------------------------------------------------------
 src/java/org/apache/cassandra/transport/FrameCompressor.java | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/2e456f56/src/java/org/apache/cassandra/transport/FrameCompressor.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/transport/FrameCompressor.java b/src/java/org/apache/cassandra/transport/FrameCompressor.java
index 8312b90..9617ec2 100644
--- a/src/java/org/apache/cassandra/transport/FrameCompressor.java
+++ b/src/java/org/apache/cassandra/transport/FrameCompressor.java
@@ -109,9 +109,6 @@ public interface FrameCompressor
             {
                 int size = Snappy.uncompress(input, 0, input.length, output.array(), output.arrayOffset());
                 output.writerIndex(size);
-
-                //release the old frame
-                frame.release();
             }
             catch (final Throwable e)
             {


Mime
View raw message