Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-5751

Columns defined as datatype counter will become 'null' after deletion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Won't Fix
    • None
    • None
    • None
    • Low

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            yangchen Yangyi Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: