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

Not able to delete a cell with timeuuid as part of clustering key

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Cannot Reproduce
    • None
    • None
    • Java

    • Low

    Description

      *My keyspace definition*

      aa
      {
      classname text,
      jobid timeuuid,
      jobdata text,
      }

      *Values in it now:*

      classname | jobid | jobdata
      --------------------------------------------------------------------------------------
      VVVVVVVV | 047a6130-e25a-11e3-83a5-8d12971ccb90 | {}
      vvvvv | 3d176010-e250-11e3-83a5-8d12971ccb91 | {}
      vvvvv | 3d176010-e250-11e3-83a5-8d12971ccb92 | {}

      Now when i delete this with following query

      *delete from aa where classname='VVVVVVVV' and jobid = 047a6130-e25a-11e3-83a5-8d12971ccb90;*

      *Result is :*

      classname | jobid | jobdata
      ------------------------------------------------------
      VVVVVVVV | 047a6130-e25a-11e3-83a5-8d12971ccb90 | {}
      vvvvv | 3d176010-e250-11e3-83a5-8d12971ccb91 | {}
      vvvvv | 3d176010-e250-11e3-83a5-8d12971ccb92 | {}

      The portion never got deleted. When i use a long value instead of timeuuid, it works.

      Any problem with respect to timeuuid in deletion

      *Cassandra version : 2.0.3*

      Attachments

        Activity

          People

            Unassigned Unassigned
            crack2drop Ananthkumar K S
            Philip Thompson Philip Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: