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

"Index manager cannot support deleting and inserting into a row in the same mutation"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Fixed
    • 0.7.7, 0.8.2
    • None
    • None
    • Critical

    Description

      I use hector 0.8.0-1 and cassandra 0.8.

      1. create mutator by using hector api,
      2. Insert a few columns into the mutator for key "key1", cf "standard".
      3. add a deletion to the mutator to delete the record of "key1", cf "standard".
      4. repeat 2 and 3
      5. execute the mutator.

      the result: the connection seems to be held by the sever forever, it never returns. when I tried to restart the cassandra I saw unsupportedexception : "Index manager cannot support deleting and inserting into a row in the same mutation". and the cassandra is dead forever, unless I delete the commitlog.

      I would expect to get an exception when I execute the mutator, not after I restart the cassandra.

      Attachments

        1. cassandra.log
          78 kB
          James P. Ancona
        2. ASF.LICENSE.NOT.GRANTED--v1-0002-CASSANDRA-2773-Add-unit-tests-to-verfy-fix-cherry-pick.txt
          2 kB
          James P. Ancona
        3. ASF.LICENSE.NOT.GRANTED--v1-0001-allow-deleting-a-rowand-updating-indexed-columns-init-.txt
          3 kB
          James P. Ancona
        4. 2773-v2.txt
          1 kB
          Jonathan Ellis
        5. 2773.txt
          1 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            yulinyen Boris Yen
            Jonathan Ellis
            Sylvain Lebresne
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: