Author: gdusbabek
Date: Tue Oct 19 14:23:24 2010
New Revision: 1024242

URL: http://svn.apache.org/viewvc?rev=1024242&view=rev
Log:
remvove system_rename* methods from API. thift/avro changes. patch by 
gdusbabek, reviewed by jbellis. CASSANDRA-1630

Modified:
    cassandra/trunk/CHANGES.txt
    cassandra/trunk/interface/cassandra.genavro
    cassandra/trunk/interface/cassandra.thrift
    
cassandra/trunk/interface/thrift/gen-java/org/apache/cassandra/thrift/Cassandra.java

Modified: cassandra/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/cassandra/trunk/CHANGES.txt?rev=1024242&r1=1024241&r2=1024242&view=diff
==============================================================================
--- cassandra/trunk/CHANGES.txt (original)
+++ cassandra/trunk/CHANGES.txt Tue Oct 19 14:23:24 2010
@@ -45,6 +45,8 @@ dev
  * fix potential infinite loop in 2ary index queries (CASSANDRA-1623)
  * allow creating NTS keyspaces with no replicas configured (CASSANDRA-1626)
  * add jmx histogram of sstables accessed per read (CASSANDRA-1624)
+ * remove system_rename_column_family and system_rename_keyspace from the
+   client API until races can be fixed (CASSANDRA-1630, CASSANDRA-1585)
 
 
 0.7-beta2

Modified: cassandra/trunk/interface/cassandra.genavro
URL: 
http://svn.apache.org/viewvc/cassandra/trunk/interface/cassandra.genavro?rev=1024242&r1=1024241&r2=1024242&view=diff
==============================================================================
--- cassandra/trunk/interface/cassandra.genavro (original)
+++ cassandra/trunk/interface/cassandra.genavro Tue Oct 19 14:23:24 2010
@@ -327,18 +327,12 @@ protocol Cassandra {
 
     string system_add_keyspace(KsDef ks_def) throws InvalidRequestException;
     
-    string system_rename_column_family(string old_name, string new_name)
-    throws InvalidRequestException;
-    
     string system_drop_column_family(string column_family)
     throws InvalidRequestException;
     
     string system_drop_keyspace(string keyspace)
     throws InvalidRequestException;
     
-    string system_rename_keyspace(string old_name, string new_name)
-    throws InvalidRequestException;
-    
     string system_update_column_family(CfDef cf_def)
     throws InvalidRequestException;
     

Modified: cassandra/trunk/interface/cassandra.thrift
URL: 
http://svn.apache.org/viewvc/cassandra/trunk/interface/cassandra.thrift?rev=1024242&r1=1024241&r2=1024242&view=diff
==============================================================================
--- cassandra/trunk/interface/cassandra.thrift (original)
+++ cassandra/trunk/interface/cassandra.thrift Tue Oct 19 14:23:24 2010
@@ -531,10 +531,6 @@ service Cassandra {
   /** drops a column family. returns the new schema id. */
   string system_drop_column_family(1:required string column_family)
     throws (1:InvalidRequestException ire), 
-    
-  /** renames a column family. returns the new schema id. */
-  string system_rename_column_family(1:required string old_name, 2:required 
string new_name)
-    throws (1:InvalidRequestException ire),
   
   /** adds a keyspace and any column families that are part of it. returns the 
new schema id. */
   string system_add_keyspace(1:required KsDef ks_def)
@@ -543,10 +539,6 @@ service Cassandra {
   /** drops a keyspace and any column families that are part of it. returns 
the new schema id. */
   string system_drop_keyspace(1:required string keyspace)
     throws (1:InvalidRequestException ire),
-    
-  /** renames a keyspace. returns the new schema id. */
-  string system_rename_keyspace(1:required string old_name, 2:required string 
new_name)
-    throws (1:InvalidRequestException ire),
   
   /** updates properties of a keyspace. returns the new schema id. */
   string system_update_keyspace(1:required KsDef ks_def)


Reply via email to