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

make {SuperColumn,ColumnFamily}.addColumn() correct in the face of concurrent removals

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7.4
    • None
    • None

    Description

      As reported on the mailing list, the particular lock-less spinning used during column addition is not correct for the case of concurrent removals. As also agreed, concurrent removals do not actually happen.

      Attaching a patch which, as jbellis suggests as an alternative to documenting the restriction on removals not being supported concurrently, makes addColumn() handle that case.

      Attachments

        1. 0001-Make-addColumn-deal-with-concurrent-deletion.patch
          4 kB
          Sylvain Lebresne
        2. trunk-1559.txt
          4 kB
          Peter Schuller

        Activity

          People

            scode Peter Schuller
            scode Peter Schuller
            Peter Schuller
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: