[jira] [Commented] (CASSANDRA-5232) ALTER TABLE ADD - data loss

2013-02-08 Thread Sylvain Lebresne (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13574446#comment-13574446
 ] 

Sylvain Lebresne commented on CASSANDRA-5232:
-

Btw, in the test case above the data is not really lost. Restarting the node 
should have him pick up the ignored sstables.

 ALTER TABLE ADD - data loss
 ---

 Key: CASSANDRA-5232
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5232
 Project: Cassandra
  Issue Type: Bug
Affects Versions: 1.2.1
Reporter: Vasily V.D.
Assignee: Sylvain Lebresne
 Fix For: 1.2.2

 Attachments: 5232.txt


 cqlsh:Test CREATE TABLE t1 (id int PRIMARY KEY, t text);
 cqlsh:Test UPDATE t1 SET t = '111' WHERE id = 1;
 cqlsh:Test ALTER TABLE t1 ADD l listtext;
 cqlsh:Test SELECT * FROM t1;
  id | l| t
 +--+-
   1 | null | 111
 cqlsh:Test ALTER TABLE t1 ADD m mapint, text;
 cqlsh:Test SELECT * FROM t1;
 cqlsh:Test
 Last query doesn't return any data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CASSANDRA-5232) ALTER TABLE ADD - data loss

2013-02-08 Thread Jonathan Ellis (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13574544#comment-13574544
 ] 

Jonathan Ellis commented on CASSANDRA-5232:
---

+1

 ALTER TABLE ADD - data loss
 ---

 Key: CASSANDRA-5232
 URL: https://issues.apache.org/jira/browse/CASSANDRA-5232
 Project: Cassandra
  Issue Type: Bug
Affects Versions: 1.2.1
Reporter: Vasily V.D.
Assignee: Sylvain Lebresne
 Fix For: 1.2.2

 Attachments: 5232.txt


 cqlsh:Test CREATE TABLE t1 (id int PRIMARY KEY, t text);
 cqlsh:Test UPDATE t1 SET t = '111' WHERE id = 1;
 cqlsh:Test ALTER TABLE t1 ADD l listtext;
 cqlsh:Test SELECT * FROM t1;
  id | l| t
 +--+-
   1 | null | 111
 cqlsh:Test ALTER TABLE t1 ADD m mapint, text;
 cqlsh:Test SELECT * FROM t1;
 cqlsh:Test
 Last query doesn't return any data.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira