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

When dropping a CF, row cache is not invalidated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.12, 2.0.3
    • None
    • None
    • Low

    Description

      When dropping a ColumnFamily with row cache enabled, then row cache is not invalidated for this CF.

      This can be a bit annoying if the ColumnFamily is recreated because it will be empty, but row cache won't.
      Note : this is similar to a "TRUNCATE" command (and TRUNCATE does invalidate the cache...)

      Attached is patch which removes the rows of the currently dropped CF from row cache.

      Attachments

        Activity

          People

            frousseau Fabien Rousseau
            frousseau Fabien Rousseau
            Fabien Rousseau
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: