Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Fix Version/s: 0.7 beta 1
    • Component/s: Core
    • Labels:
      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.

      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
        64 kB
        Ran Tavory
      4. CASSANDRA-531.patch
        38 kB
        Jonathan Ellis
      5. CASSANDRA-531.patch
        65 kB
        Ran Tavory
      6. CASSANDRA-531.patch
        69 kB
        Ran Tavory

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Ran Tavory
            Reporter:
            Jonathan Ellis
          • Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development