Always reallocate buffers with HSHA. Patch by brandonwilliams, reviewed by Rick Branson for CASSANDRA-6285
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/b9802ffb Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/b9802ffb Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/b9802ffb Branch: refs/heads/trunk Commit: b9802ffbc4d22e5a6a608f16113d8a0d7914a319 Parents: e3a88b9 Author: Brandon Williams <[email protected]> Authored: Mon May 19 13:52:40 2014 -0500 Committer: Brandon Williams <[email protected]> Committed: Mon May 19 14:01:14 2014 -0500 ---------------------------------------------------------------------- CHANGES.txt | 14 ++++++++++++++ .../apache/cassandra/thrift/THsHaDisruptorServer.java | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/b9802ffb/CHANGES.txt ---------------------------------------------------------------------- diff --git a/CHANGES.txt b/CHANGES.txt index ed818db..df3741e 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,18 @@ 2.0.8 + * Always reallocate buffers in HSHA (CASSANDRA-6285) + * (Hadoop) support authentication in CqlRecordReader (CASSANDRA-7221) + * (Hadoop) Close java driver Cluster in CQLRR.close (CASSANDRA-7228) + * Fix potential SlabAllocator yield-starvation (CASSANDRA-7133) + * Warn when 'USING TIMESTAMP' is used on a CAS BATCH (CASSANDRA-7067) + * Starting threads in OutboundTcpConnectionPool constructor causes race conditions (CASSANDRA-7177) + * return all cpu values from BackgroundActivityMonitor.readAndCompute (CASSANDRA-7183) + * fix c* launch issues on Russian os's due to output of linux 'free' cmd (CASSANDRA-6162) + * Fix disabling autocompaction (CASSANDRA-7187) + * Fix potential NumberFormatException when deserializing IntegerType (CASSANDRA-7088) + * cqlsh can't tab-complete disabling compaction (CASSANDRA-7185) + * cqlsh: Accept and execute CQL statement(s) from command-line parameter (CASSANDRA-7172) + * Fix IllegalStateException in CqlPagingRecordReader (CASSANDRA-7198) + * Fix the InvertedIndex trigger example (CASSANDRA-7211) * Correctly delete scheduled range xfers (CASSANDRA-7143) * Make batchlog replica selection rack-aware (CASSANDRA-6551) * Allow overriding cassandra-rackdc.properties file (CASSANDRA-7072) http://git-wip-us.apache.org/repos/asf/cassandra/blob/b9802ffb/src/java/org/apache/cassandra/thrift/THsHaDisruptorServer.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/thrift/THsHaDisruptorServer.java b/src/java/org/apache/cassandra/thrift/THsHaDisruptorServer.java index fb7ef35..e3b89d2 100644 --- a/src/java/org/apache/cassandra/thrift/THsHaDisruptorServer.java +++ b/src/java/org/apache/cassandra/thrift/THsHaDisruptorServer.java @@ -86,7 +86,8 @@ public class THsHaDisruptorServer extends TDisruptorServer .inputProtocolFactory(protocolFactory) .outputProtocolFactory(protocolFactory) .processor(args.processor) - .maxFrameSizeInBytes(DatabaseDescriptor.getThriftFramedTransportSize()); + .maxFrameSizeInBytes(DatabaseDescriptor.getThriftFramedTransportSize()) + .alwaysReallocateBuffers(true); return new THsHaDisruptorServer(serverArgs); }
