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
        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

        Jonathan Ellis created issue -
        Jonathan Ellis made changes -
        Field Original Value New Value
        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.
        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.
        Jonathan Ellis made changes -
        Fix Version/s 0.9 [ 12314361 ]
        Jonathan Ellis made changes -
        Assignee Jonathan Ellis [ jbellis ]
        Jonathan Ellis made changes -
        Jonathan Ellis made changes -
        Assignee Jonathan Ellis [ jbellis ]
        Chris Goffinet made changes -
        Assignee Chris Goffinet [ lenn0x ]
        Jonathan Ellis made changes -
        Affects Version/s 0.7 [ 12314533 ]
        Jonathan Ellis made changes -
        Affects Version/s 0.7 [ 12314533 ]
        Fix Version/s 0.7 [ 12314533 ]
        Fix Version/s 0.6 [ 12314361 ]
        Ran Tavory made changes -
        Assignee Chris Goffinet [ lenn0x ] Ran Tavory [ rantav ]
        Ran Tavory made changes -
        Attachment CASSANDRA-531.patch [ 12443055 ]
        Ran Tavory made changes -
        Attachment CASSANDRA-531.patch [ 12443388 ]
        Ran Tavory made changes -
        Attachment CASSANDRA-531.patch [ 12443391 ]
        Ran Tavory made changes -
        Attachment CASSANDRA-531.patch [ 12443401 ]
        Ran Tavory made changes -
        Attachment CASSANDRA-531.patch [ 12443402 ]
        Ran Tavory made changes -
        Attachment CASSANDRA-531.patch [ 12443403 ]
        Ran Tavory made changes -
        Attachment CASSANDRA-531.patch [ 12443404 ]
        Jonathan Ellis made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Ran Tavory made changes -
        Attachment CASSANDRA-531.patch [ 12443471 ]
        Ran Tavory made changes -
        Attachment CASSANDRA-531.patch [ 12443552 ]
        Jonathan Ellis made changes -
        Attachment CASSANDRA-531.patch [ 12443593 ]
        Jonathan Ellis made changes -
        Attachment CASSANDRA-531.patch [ 12443471 ]
        Jonathan Ellis made changes -
        Attachment CASSANDRA-531.patch [ 12443404 ]
        Jonathan Ellis made changes -
        Attachment CASSANDRA-531.patch [ 12443403 ]
        Jonathan Ellis made changes -
        Attachment CASSANDRA-531.patch [ 12443402 ]
        Jonathan Ellis made changes -
        Attachment CASSANDRA-531.patch [ 12443401 ]
        Jonathan Ellis made changes -
        Attachment CASSANDRA-531.patch [ 12443391 ]
        Jonathan Ellis made changes -
        Attachment CASSANDRA-531.patch [ 12443388 ]
        Jonathan Ellis made changes -
        Attachment CASSANDRA-531.patch [ 12443055 ]
        Ran Tavory made changes -
        Attachment CASSANDRA-531.patch [ 12443630 ]
        Ran Tavory made changes -
        Attachment CASSANDRA-531.patch [ 12444053 ]
        Jonathan Ellis made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12481398 ] patch-available, re-open possible [ 12751980 ]
        Gavin made changes -
        Workflow patch-available, re-open possible [ 12751980 ] reopen-resolved, no closed status, patch-avail, testing [ 12758057 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development