You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jb...@apache.org on 2013/07/08 18:30:42 UTC

[1/3] git commit: make starting native protocol server idempotent patch by Manoj Mainali; reviewed by jbellis for CASSANDRA-5728

Updated Branches:
  refs/heads/cassandra-1.2 83b75754f -> f8c072e97
  refs/heads/trunk 4cd087f44 -> a90e8b77c


make starting native protocol server idempotent
patch by Manoj Mainali; reviewed by jbellis for CASSANDRA-5728


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

Branch: refs/heads/cassandra-1.2
Commit: f8c072e974eef21ca7287e21db33f09788cb56c0
Parents: 83b7575
Author: Jonathan Ellis <jb...@apache.org>
Authored: Mon Jul 8 11:30:31 2013 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Mon Jul 8 11:30:31 2013 -0500

----------------------------------------------------------------------
 CHANGES.txt                                         | 2 ++
 src/java/org/apache/cassandra/transport/Server.java | 7 +++++--
 2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f8c072e9/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index b08f967..7c16cd0 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 1.2.7
+ * make starting native protocol server idempotent (CASSANDRA-5728)
  * Fix loading key cache when a saved entry is no longer valid (CASSANDRA-5706)
  * Fix serialization of the LEFT gossip value (CASSANDRA-5696)
  * Pig: support for cql3 tables (CASSANDRA-5234)
@@ -9,6 +10,7 @@
  * Expire entries out of ThriftSessionManager (CASSANRDA-5719)
  * Don't keep ancestor information in memory (CASSANDRA-5342)
 
+
 1.2.6
  * Fix tracing when operation completes before all responses arrive 
    (CASSANDRA-5668)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/f8c072e9/src/java/org/apache/cassandra/transport/Server.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/transport/Server.java b/src/java/org/apache/cassandra/transport/Server.java
index 51a90e8..7400a8b 100644
--- a/src/java/org/apache/cassandra/transport/Server.java
+++ b/src/java/org/apache/cassandra/transport/Server.java
@@ -95,8 +95,11 @@ public class Server implements CassandraDaemon.Server
 
     public void start()
     {
-        run();
-        isRunning.set(true);
+	    if(!isRunning())
+	    {
+                run();
+                isRunning.set(true);
+	    }
     }
 
     public void stop()


[2/3] git commit: make starting native protocol server idempotent patch by Manoj Mainali; reviewed by jbellis for CASSANDRA-5728

Posted by jb...@apache.org.
make starting native protocol server idempotent
patch by Manoj Mainali; reviewed by jbellis for CASSANDRA-5728


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

Branch: refs/heads/trunk
Commit: f8c072e974eef21ca7287e21db33f09788cb56c0
Parents: 83b7575
Author: Jonathan Ellis <jb...@apache.org>
Authored: Mon Jul 8 11:30:31 2013 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Mon Jul 8 11:30:31 2013 -0500

----------------------------------------------------------------------
 CHANGES.txt                                         | 2 ++
 src/java/org/apache/cassandra/transport/Server.java | 7 +++++--
 2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f8c072e9/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index b08f967..7c16cd0 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 1.2.7
+ * make starting native protocol server idempotent (CASSANDRA-5728)
  * Fix loading key cache when a saved entry is no longer valid (CASSANDRA-5706)
  * Fix serialization of the LEFT gossip value (CASSANDRA-5696)
  * Pig: support for cql3 tables (CASSANDRA-5234)
@@ -9,6 +10,7 @@
  * Expire entries out of ThriftSessionManager (CASSANRDA-5719)
  * Don't keep ancestor information in memory (CASSANDRA-5342)
 
+
 1.2.6
  * Fix tracing when operation completes before all responses arrive 
    (CASSANDRA-5668)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/f8c072e9/src/java/org/apache/cassandra/transport/Server.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/transport/Server.java b/src/java/org/apache/cassandra/transport/Server.java
index 51a90e8..7400a8b 100644
--- a/src/java/org/apache/cassandra/transport/Server.java
+++ b/src/java/org/apache/cassandra/transport/Server.java
@@ -95,8 +95,11 @@ public class Server implements CassandraDaemon.Server
 
     public void start()
     {
-        run();
-        isRunning.set(true);
+	    if(!isRunning())
+	    {
+                run();
+                isRunning.set(true);
+	    }
     }
 
     public void stop()


[3/3] git commit: Merge branch 'cassandra-1.2' into trunk

Posted by jb...@apache.org.
Merge branch 'cassandra-1.2' into trunk


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

Branch: refs/heads/trunk
Commit: a90e8b77c5b0f4d231bd7b61abc0bd16450beeaa
Parents: 4cd087f f8c072e
Author: Jonathan Ellis <jb...@apache.org>
Authored: Mon Jul 8 11:30:39 2013 -0500
Committer: Jonathan Ellis <jb...@apache.org>
Committed: Mon Jul 8 11:30:39 2013 -0500

----------------------------------------------------------------------
 CHANGES.txt                                         | 2 ++
 src/java/org/apache/cassandra/transport/Server.java | 7 +++++--
 2 files changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/a90e8b77/CHANGES.txt
----------------------------------------------------------------------
diff --cc CHANGES.txt
index 40c076c,7c16cd0..5d597bd
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,81 -1,8 +1,82 @@@
 +2.0
 + * Removed on-heap row cache (CASSANDRA-5348)
 + * use nanotime consistently for node-local timeouts (CASSANDRA-5581)
 + * Avoid unnecessary second pass on name-based queries (CASSANDRA-5577)
 + * Experimental triggers (CASSANDRA-1311)
 + * JEMalloc support for off-heap allocation (CASSANDRA-3997)
 + * Single-pass compaction (CASSANDRA-4180)
 + * Removed token range bisection (CASSANDRA-5518)
 + * Removed compatibility with pre-1.2.5 sstables and network messages
 +   (CASSANDRA-5511)
 + * removed PBSPredictor (CASSANDRA-5455)
 + * CAS support (CASSANDRA-5062, 5441, 5442, 5443, 5619, 5667)
 + * Leveled compaction performs size-tiered compactions in L0 
 +   (CASSANDRA-5371, 5439)
 + * Add yaml network topology snitch for mixed ec2/other envs (CASSANDRA-5339)
 + * Log when a node is down longer than the hint window (CASSANDRA-4554)
 + * Optimize tombstone creation for ExpiringColumns (CASSANDRA-4917)
 + * Improve LeveledScanner work estimation (CASSANDRA-5250, 5407)
 + * Replace compaction lock with runWithCompactionsDisabled (CASSANDRA-3430)
 + * Change Message IDs to ints (CASSANDRA-5307)
 + * Move sstable level information into the Stats component, removing the
 +   need for a separate Manifest file (CASSANDRA-4872)
 + * avoid serializing to byte[] on commitlog append (CASSANDRA-5199)
 + * make index_interval configurable per columnfamily (CASSANDRA-3961, CASSANDRA-5650)
 + * add default_time_to_live (CASSANDRA-3974)
 + * add memtable_flush_period_in_ms (CASSANDRA-4237)
 + * replace supercolumns internally by composites (CASSANDRA-3237, 5123)
 + * upgrade thrift to 0.9.0 (CASSANDRA-3719)
 + * drop unnecessary keyspace parameter from user-defined compaction API 
 +   (CASSANDRA-5139)
 + * more robust solution to incomplete compactions + counters (CASSANDRA-5151)
 + * Change order of directory searching for c*.in.sh (CASSANDRA-3983)
 + * Add tool to reset SSTable compaction level for LCS (CASSANDRA-5271)
 + * Allow custom configuration loader (CASSANDRA-5045)
 + * Remove memory emergency pressure valve logic (CASSANDRA-3534)
 + * Reduce request latency with eager retry (CASSANDRA-4705)
 + * cqlsh: Remove ASSUME command (CASSANDRA-5331)
 + * Rebuild BF when loading sstables if bloom_filter_fp_chance
 +   has changed since compaction (CASSANDRA-5015)
 + * remove row-level bloom filters (CASSANDRA-4885)
 + * Change Kernel Page Cache skipping into row preheating (disabled by default)
 +   (CASSANDRA-4937)
 + * Improve repair by deciding on a gcBefore before sending
 +   out TreeRequests (CASSANDRA-4932)
 + * Add an official way to disable compactions (CASSANDRA-5074)
 + * Reenable ALTER TABLE DROP with new semantics (CASSANDRA-3919)
 + * Add binary protocol versioning (CASSANDRA-5436)
 + * Swap THshaServer for TThreadedSelectorServer (CASSANDRA-5530)
 + * Add alias support to SELECT statement (CASSANDRA-5075)
 + * Don't create empty RowMutations in CommitLogReplayer (CASSANDRA-5541)
 + * Use range tombstones when dropping cfs/columns from schema (CASSANDRA-5579)
 + * cqlsh: drop CQL2/CQL3-beta support (CASSANDRA-5585)
 + * Track max/min column names in sstables to be able to optimize slice
 +   queries (CASSANDRA-5514, CASSANDRA-5595, CASSANDRA-5600)
 + * Binary protocol: allow batching already prepared statements (CASSANDRA-4693)
 + * Allow preparing timestamp, ttl and limit in CQL3 queries (CASSANDRA-4450)
 + * Support native link w/o JNA in Java7 (CASSANDRA-3734)
 + * Use SASL authentication in binary protocol v2 (CASSANDRA-5545)
 + * Replace Thrift HsHa with LMAX Disruptor based implementation (CASSANDRA-5582)
 + * cqlsh: Add row count to SELECT output (CASSANDRA-5636)
 + * Include a timestamp with all read commands to determine column expiration
 +   (CASSANDRA-5149)
 + * Streaming 2.0 (CASSANDRA-5286, 5699)
 + * Conditional create/drop ks/table/index statements in CQL3 (CASSANDRA-2737)
 + * more pre-table creation property validation (CASSANDRA-5693)
 + * Redesign repair messages (CASSANDRA-5426)
 + * Fix ALTER RENAME post-5125 (CASSANDRA-5702)
 + * Disallow renaming a 2ndary indexed column (CASSANDRA-5705)
 + * Rename Table to Keyspace (CASSANDRA-5613)
 + * Ensure changing column_index_size_in_kb on different nodes don't corrupt the
 +   sstable (CASSANDRA-5454)
 + * Move resultset type information into prepare, not execute (CASSANDRA-5649)
 + * Auto paging in binary protocol (CASSANDRA-4415, 5714)
 +
 +
  1.2.7
+  * make starting native protocol server idempotent (CASSANDRA-5728)
   * Fix loading key cache when a saved entry is no longer valid (CASSANDRA-5706)
   * Fix serialization of the LEFT gossip value (CASSANDRA-5696)
 - * Pig: support for cql3 tables (CASSANDRA-5234)
   * cqlsh: Don't show 'null' in place of empty values (CASSANDRA-5675)
   * Race condition in detecting version on a mixed 1.1/1.2 cluster
     (CASSANDRA-5692)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/a90e8b77/src/java/org/apache/cassandra/transport/Server.java
----------------------------------------------------------------------