You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by bl...@apache.org on 2017/01/27 09:18:39 UTC

[2/2] cassandra git commit: Merge branch cassandra-3.11 into trunk

Merge branch cassandra-3.11 into trunk


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/113b92bc
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/113b92bc
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/113b92bc

Branch: refs/heads/trunk
Commit: 113b92bcb238884f7def1579059520ceb82fe9b0
Parents: 26eab45 91564ab
Author: Benjamin Lerer <b....@gmail.com>
Authored: Fri Jan 27 10:17:58 2017 +0100
Committer: Benjamin Lerer <b....@gmail.com>
Committed: Fri Jan 27 10:17:58 2017 +0100

----------------------------------------------------------------------
 CHANGES.txt                                     |  1 +
 .../serializers/DurationSerializer.java         | 16 ++++++++++++
 .../cql3/validation/operations/CreateTest.java  | 26 +++++++++++++++++++-
 3 files changed, 42 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/113b92bc/CHANGES.txt
----------------------------------------------------------------------
diff --cc CHANGES.txt
index e5bb09d,aec644f..b9db75d
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,35 -1,5 +1,36 @@@
 +4.0
 + * Parallelize streaming of different keyspaces (4663)
 + * Improved compactions metrics (CASSANDRA-13015)
 + * Speed-up start-up sequence by avoiding un-needed flushes (CASSANDRA-13031)
 + * Use Caffeine (W-TinyLFU) for on-heap caches (CASSANDRA-10855)
 + * Thrift removal (CASSANDRA-11115)
 + * Remove pre-3.0 compatibility code for 4.0 (CASSANDRA-12716)
 + * Add column definition kind to dropped columns in schema (CASSANDRA-12705)
 + * Add (automate) Nodetool Documentation (CASSANDRA-12672)
 + * Update bundled cqlsh python driver to 3.7.0 (CASSANDRA-12736)
 + * Reject invalid replication settings when creating or altering a keyspace (CASSANDRA-12681)
 + * Clean up the SSTableReader#getScanner API wrt removal of RateLimiter (CASSANDRA-12422)
 + * Use new token allocation for non bootstrap case as well (CASSANDRA-13080)
 + * Avoid byte-array copy when key cache is disabled (CASSANDRA-13084)
 + * More fixes to the TokenAllocator (CASSANDRA-12990)
 + * Require forceful decommission if number of nodes is less than replication factor (CASSANDRA-12510)
 + * Allow IN restrictions on column families with collections (CASSANDRA-12654)
 + * Move to FastThreadLocalThread and FastThreadLocal (CASSANDRA-13034)
 + * nodetool stopdaemon errors out (CASSANDRA-13030)
 + * Log message size in trace message in OutboundTcpConnection (CASSANDRA-13028)
 + * Add timeUnit Days for cassandra-stress (CASSANDRA-13029)
 + * Add mutation size and batch metrics (CASSANDRA-12649)
 + * Add method to get size of endpoints to TokenMetadata (CASSANDRA-12999)
 + * Fix primary index calculation for SASI (CASSANDRA-12910)
 + * Expose time spent waiting in thread pool queue (CASSANDRA-8398)
 + * Conditionally update index built status to avoid unnecessary flushes (CASSANDRA-12969)
 + * NoReplicationTokenAllocator should work with zero replication factor (CASSANDRA-12983)
 + * cqlsh auto completion: refactor definition of compaction strategy options (CASSANDRA-12946)
 + * Add support for arithmetic operators (CASSANDRA-11935)
 + * Tables in system_distributed should not use gcgs of 0 (CASSANDRA-12954)
 +
  3.10
+  * Fix duration type validation (CASSANDRA-13143)
   * Fix flaky GcCompactionTest (CASSANDRA-12664)
   * Fix TestHintedHandoff.hintedhandoff_decom_test (CASSANDRA-13058)
   * Fixed query monitoring for range queries (CASSANDRA-13050)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/113b92bc/test/unit/org/apache/cassandra/cql3/validation/operations/CreateTest.java
----------------------------------------------------------------------
diff --cc test/unit/org/apache/cassandra/cql3/validation/operations/CreateTest.java
index 5c1f865,e60bf36..b92b0df
--- a/test/unit/org/apache/cassandra/cql3/validation/operations/CreateTest.java
+++ b/test/unit/org/apache/cassandra/cql3/validation/operations/CreateTest.java
@@@ -17,7 -17,8 +17,9 @@@
   */
  package org.apache.cassandra.cql3.validation.operations;
  
 +import java.net.InetAddress;
+ import java.io.IOException;
+ import java.nio.ByteBuffer;
  import java.util.Collection;
  import java.util.Collections;
  import java.util.UUID;
@@@ -34,8 -34,7 +36,9 @@@ import org.apache.cassandra.db.Mutation
  import org.apache.cassandra.db.partitions.Partition;
  import org.apache.cassandra.exceptions.ConfigurationException;
  import org.apache.cassandra.exceptions.SyntaxException;
 +import org.apache.cassandra.locator.AbstractEndpointSnitch;
 +import org.apache.cassandra.locator.IEndpointSnitch;
+ import org.apache.cassandra.io.util.DataOutputBuffer;
  import org.apache.cassandra.schema.SchemaKeyspace;
  import org.apache.cassandra.triggers.ITrigger;
  import org.apache.cassandra.utils.ByteBufferUtil;