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

SSTableDeletingReference only deletes data files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 0.7.1
    • None
    • None
    • Normal

    Description

      Ching-Cheng Chen reports on the mailing list:

      In SSTableDeletingReference, it try this operation

      components.remove(Component.DATA);

      before

      STable.delete(desc, components);

      However, the components was reference to the components object which was created inside SSTable by

      this.components = Collections.unmodifiableSet(dataComponents);

      As you can see, you can't try the remove operation on that components object.

      Attachments

        1. 2059.txt
          1.0 kB
          Jonathan Ellis

        Activity

          People

            jbellis Jonathan Ellis
            jbellis Jonathan Ellis
            Jonathan Ellis
            Stu Hood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified