mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-3.0' into cassandra-3.11
This commit is contained in:
commit
6d5cd2d459
|
|
@ -241,6 +241,7 @@ Merged from 2.2:
|
|||
* Enable repair -pr and -local together (fix regression of CASSANDRA-7450) (CASSANDRA-12522)
|
||||
* Split consistent range movement flag correction (CASSANDRA-12786)
|
||||
Merged from 2.1:
|
||||
* Upgrade netty version to fix memory leak with client encryption (CASSANDRA-13114)
|
||||
* cqlsh copy-from: sort user type fields in csv (CASSANDRA-12959)
|
||||
* Don't skip sstables based on maxLocalDeletionTime (CASSANDRA-12765)
|
||||
|
||||
|
|
|
|||
|
|
@ -429,7 +429,7 @@
|
|||
<dependency groupId="com.addthis.metrics" artifactId="reporter-config3" version="3.0.3" />
|
||||
<dependency groupId="org.mindrot" artifactId="jbcrypt" version="0.3m" />
|
||||
<dependency groupId="io.airlift" artifactId="airline" version="0.6" />
|
||||
<dependency groupId="io.netty" artifactId="netty-all" version="4.0.39.Final" />
|
||||
<dependency groupId="io.netty" artifactId="netty-all" version="4.0.44.Final" />
|
||||
<dependency groupId="com.google.code.findbugs" artifactId="jsr305" version="2.0.2" />
|
||||
<dependency groupId="com.clearspring.analytics" artifactId="stream" version="2.5.2" />
|
||||
<dependency groupId="com.datastax.cassandra" artifactId="cassandra-driver-core" version="3.0.1" classifier="shaded">
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -555,10 +555,12 @@ public abstract class Message
|
|||
public void exceptionCaught(final ChannelHandlerContext ctx, Throwable cause)
|
||||
throws Exception
|
||||
{
|
||||
// Provide error message to client in case channel is still open
|
||||
UnexpectedChannelExceptionHandler handler = new UnexpectedChannelExceptionHandler(ctx.channel(), false);
|
||||
ErrorMessage errorMessage = ErrorMessage.fromException(cause, handler);
|
||||
if (ctx.channel().isOpen())
|
||||
{
|
||||
UnexpectedChannelExceptionHandler handler = new UnexpectedChannelExceptionHandler(ctx.channel(), false);
|
||||
ChannelFuture future = ctx.writeAndFlush(ErrorMessage.fromException(cause, handler));
|
||||
ChannelFuture future = ctx.writeAndFlush(errorMessage);
|
||||
// On protocol exception, close the channel as soon as the message have been sent
|
||||
if (cause instanceof ProtocolException)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue