Yangyi Chen created CASSANDRA-5751:
--------------------------------------
Summary: Columns defined as datatype counter will become 'null'
after deletion
Key: CASSANDRA-5751
URL: https://issues.apache.org/jira/browse/CASSANDRA-5751
Project: Cassandra
Issue Type: Bug
Components: Core
Affects Versions: 1.2.6, 1.2.4
Reporter: Yangyi Chen
Priority: Minor
The following statements should reproduce the problem:
CREATE TABLE ctrtest (a varchar, ctr counter, PRIMARY KEY(a) );
update ctrtest set ctr=ctr+1 where a='a';
delete from ctrtest where a='a';
update ctrtest set ctr=ctr+1 where a='a';
select * from ctrtest ;
a | ctr
---+------
a | null
--
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