mirror of https://github.com/apache/cassandra
fix HsHa to respect max frame size
patch by Pavel Yaskevich; reviewed by Tyler Hobbs (CASSANDRA-4573)
This commit is contained in:
parent
af85f2327c
commit
19767fcd17
|
|
@ -1,5 +1,6 @@
|
|||
2.0.0
|
||||
* fix CAS contention timeout (CASSANDRA-5830)
|
||||
* fix HsHa to respect max frame size (CASSANDRA-4573)
|
||||
|
||||
|
||||
2.0.0-rc1
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@
|
|||
<dependency groupId="com.googlecode.json-simple" artifactId="json-simple" version="1.1"/>
|
||||
<dependency groupId="com.github.stephenc.high-scale-lib" artifactId="high-scale-lib" version="1.1.2"/>
|
||||
<dependency groupId="com.github.stephenc" artifactId="jamm" version="0.2.5"/>
|
||||
<dependency groupId="com.thinkaurelius.thrift" artifactId="thrift-server" version="0.2.1"/>
|
||||
<dependency groupId="com.thinkaurelius.thrift" artifactId="thrift-server" version="0.3.0"/>
|
||||
<dependency groupId="org.yaml" artifactId="snakeyaml" version="1.6"/>
|
||||
<dependency groupId="org.apache.thrift" artifactId="libthrift" version="0.9.0"/>
|
||||
|
||||
|
|
@ -451,7 +451,7 @@
|
|||
<dependency groupId="edu.stanford.ppl" artifactId="snaptree"/>
|
||||
<dependency groupId="org.mindrot" artifactId="jbcrypt"/>
|
||||
<dependency groupId="com.yammer.metrics" artifactId="metrics-core"/>
|
||||
<dependency groupId="com.thinkaurelius.thrift" artifactId="thrift-server" version="0.2.1"/>
|
||||
<dependency groupId="com.thinkaurelius.thrift" artifactId="thrift-server" version="0.3.0"/>
|
||||
|
||||
<dependency groupId="log4j" artifactId="log4j"/>
|
||||
<!-- cassandra has a hard dependency on log4j, so force slf4j's log4j provider at runtime -->
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -84,7 +84,8 @@ public class THsHaDisruptorServer extends TDisruptorServer
|
|||
.outputTransportFactory(args.outTransportFactory)
|
||||
.inputProtocolFactory(protocolFactory)
|
||||
.outputProtocolFactory(protocolFactory)
|
||||
.processor(args.processor);
|
||||
.processor(args.processor)
|
||||
.maxFrameSizeInBytes(DatabaseDescriptor.getThriftFramedTransportSize());
|
||||
|
||||
return new THsHaDisruptorServer(serverArgs);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue