cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r979438 - /cassandra/trunk/src/java/org/apache/cassandra/thrift/CassandraDaemon.java
Date Mon, 26 Jul 2010 21:01:27 GMT
Author: jbellis
Date: Mon Jul 26 21:01:27 2010
New Revision: 979438

URL: http://svn.apache.org/viewvc?rev=979438&view=rev
Log:
enable "strict reads" to aid troubleshooting corrupt messages / framed bugs.  patch by jbellis

Modified:
    cassandra/trunk/src/java/org/apache/cassandra/thrift/CassandraDaemon.java

Modified: cassandra/trunk/src/java/org/apache/cassandra/thrift/CassandraDaemon.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/java/org/apache/cassandra/thrift/CassandraDaemon.java?rev=979438&r1=979437&r2=979438&view=diff
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/thrift/CassandraDaemon.java (original)
+++ cassandra/trunk/src/java/org/apache/cassandra/thrift/CassandraDaemon.java Mon Jul 26 21:01:27
2010
@@ -153,7 +153,7 @@ public class CassandraDaemon extends org
         logger.info(String.format("Binding thrift service to %s:%s", listenAddr, listenPort));
 
         // Protocol factory
-        TProtocolFactory tProtocolFactory = new TBinaryProtocol.Factory(false, 
+        TProtocolFactory tProtocolFactory = new TBinaryProtocol.Factory(true, 
                                                                         true, 
                                                                         DatabaseDescriptor.getThriftMaxMessageLength());
         



Mime
View raw message