cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xe...@apache.org
Subject svn commit: r1166173 - in /cassandra/branches/cassandra-0.8: CHANGES.txt src/java/org/apache/cassandra/thrift/CustomTThreadPoolServer.java
Date Wed, 07 Sep 2011 13:40:33 GMT
Author: xedin
Date: Wed Sep  7 13:40:33 2011
New Revision: 1166173

URL: http://svn.apache.org/viewvc?rev=1166173&view=rev
Log:
CustomTThreadPoolServer to log TTransportException at DEBUG level
patch by Jim Ancona; reviewed by Pavel Yaskevich for CASSANDRA-3142

Modified:
    cassandra/branches/cassandra-0.8/CHANGES.txt
    cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/thrift/CustomTThreadPoolServer.java

Modified: cassandra/branches/cassandra-0.8/CHANGES.txt
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/CHANGES.txt?rev=1166173&r1=1166172&r2=1166173&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/CHANGES.txt (original)
+++ cassandra/branches/cassandra-0.8/CHANGES.txt Wed Sep  7 13:40:33 2011
@@ -5,6 +5,8 @@
    (CASSANDRA-3139)
  * fix CLI `show schema;` to output correct keyspace definition statement
    (CASSANDRA-3129)
+ * CustomTThreadPoolServer to log TTransportException at DEBUG level
+   (CASSANDRA-3142)
 
 0.8.5
  * fix NPE when encryption_options is unspecified (CASSANDRA-3007)

Modified: cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/thrift/CustomTThreadPoolServer.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/thrift/CustomTThreadPoolServer.java?rev=1166173&r1=1166172&r2=1166173&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/thrift/CustomTThreadPoolServer.java
(original)
+++ cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/thrift/CustomTThreadPoolServer.java
Wed Sep  7 13:40:33 2011
@@ -193,6 +193,8 @@ public class CustomTThreadPoolServer ext
             catch (TTransportException ttx)
             {
                 // Assume the client died and continue silently
+                // Log at debug to allow debugging of "frame too large" errors (see CASSANDRA-3142).
+                LOGGER.debug("Thrift transport error occurred during processing of message.",
ttx);
             }
             catch (TException tx)
             {



Mime
View raw message