cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdusba...@apache.org
Subject svn commit: r1024245 - in /cassandra/trunk/src/java/org/apache/cassandra/db/migration: RenameColumnFamily.java RenameKeyspace.java
Date Tue, 19 Oct 2010 14:23:52 GMT
Author: gdusbabek
Date: Tue Oct 19 14:23:51 2010
New Revision: 1024245

URL: http://svn.apache.org/viewvc?rev=1024245&view=rev
Log:
Deprecate RenameColumnFamily and RenameKeyspace. patch by gdusbabek, reviewed by jbellis.
CASSANDRA-1
630

Modified:
    cassandra/trunk/src/java/org/apache/cassandra/db/migration/RenameColumnFamily.java
    cassandra/trunk/src/java/org/apache/cassandra/db/migration/RenameKeyspace.java

Modified: cassandra/trunk/src/java/org/apache/cassandra/db/migration/RenameColumnFamily.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/java/org/apache/cassandra/db/migration/RenameColumnFamily.java?rev=1024245&r1=1024244&r2=1024245&view=diff
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/db/migration/RenameColumnFamily.java (original)
+++ cassandra/trunk/src/java/org/apache/cassandra/db/migration/RenameColumnFamily.java Tue
Oct 19 14:23:51 2010
@@ -34,7 +34,8 @@ import java.util.List;
  * limitations under the License.
  */
 
-
+/** Deprecated until we can figure out how to rename on a live node without complicating
flushing and compaction. */
+@Deprecated
 public class RenameColumnFamily extends Migration
 {
     private String tableName;

Modified: cassandra/trunk/src/java/org/apache/cassandra/db/migration/RenameKeyspace.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/java/org/apache/cassandra/db/migration/RenameKeyspace.java?rev=1024245&r1=1024244&r2=1024245&view=diff
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/db/migration/RenameKeyspace.java (original)
+++ cassandra/trunk/src/java/org/apache/cassandra/db/migration/RenameKeyspace.java Tue Oct
19 14:23:51 2010
@@ -38,6 +38,8 @@ import java.util.Set;
 
 import org.apache.commons.lang.StringUtils;
 
+/** Deprecated until we can figure out how to rename on a live node without complicating
flushing and compaction. */
+@Deprecated
 public class RenameKeyspace extends Migration
 {
     private String oldName;



Mime
View raw message