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

truncate support

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.7 beta 1
    • None
    • None

    Description

      Sometimes you want to delete an entire columnfamily. If there is a lot of data, it's much faster to just insert something to the commitlog saying "truncated," and drop the memtable and data files.

      Probably should require this to block for all replicas to ack to avoid unpleasant surprises. Or make it local-only and have ops manage making sure it gets to all replicas.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--0001-CASSANDRA-531-add-truncate-truncateBefore.txt
          7 kB
          Jonathan Ellis
        2. ASF.LICENSE.NOT.GRANTED--0002-add-unimplemented-truncate-to-thrift-API.txt
          25 kB
          Jonathan Ellis
        3. CASSANDRA-531.patch
          69 kB
          Ran Tavory
        4. CASSANDRA-531.patch
          65 kB
          Ran Tavory
        5. CASSANDRA-531.patch
          38 kB
          Jonathan Ellis
        6. CASSANDRA-531.patch
          64 kB
          Ran Tavory

        Activity

          People

            rantav Ran Tavory
            jbellis Jonathan Ellis
            Ran Tavory
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: