cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1276) GCGraceSeconds per ColumnFamily
Date Mon, 19 Jul 2010 21:57:51 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis updated CASSANDRA-1276:
--------------------------------------

    Attachment: 1276-v4.txt

v4 fixes LongCompactionSpeedTest, but I am also seeing test failures in nosetests (not including
get_count, which seems to be broken independently...)

> GCGraceSeconds per ColumnFamily
> -------------------------------
>
>                 Key: CASSANDRA-1276
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1276
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7
>            Reporter: B. Todd Burruss
>            Assignee: Jon Hermes
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: 1276-v3.txt, 1276-v4.txt, TRUNK-1276.txt
>
>
> From: Jonathan Ellis [jbellis@gmail.com]
> Received: 7/12/10 9:15 PM
> To: user@cassandra.apache.org [user@cassandra.apache.org]
> Subject: Re: GCGraceSeconds per ColumnFamily/Keyspace
> Probably.  Can you open a ticket?
> On Mon, Jul 12, 2010 at 10:41 PM, Todd Burruss <bburruss@real.com> wrote:
> > Is it possible to get this feature in 0.7?
> >
> >
> >
> > -----Original Message-----
> > From: Jonathan Ellis [jbellis@gmail.com]
> > Received: 7/12/10 5:06 PM
> > To: user@cassandra.apache.org [user@cassandra.apache.org]
> > Subject: Re: GCGraceSeconds per ColumnFamily/Keyspace
> >
> > GCGS per CF sounds totally reasonable to me.
> >
> > On Mon, Jul 12, 2010 at 6:33 PM, Todd Burruss <bburruss@real.com> wrote:
> >> I have two CFs in my keyspace.  one i care about allowing a good amount of
> >> time for tombstones to propagate (GCGraceSeconds large) ... but the other i
> >> couldn't care and in fact i want them gone ASAP so i don't iterate over
> >> them.  has any thought been given to making this setting per Keyspace or per
> >> ColumnFamily?
> >>
> >> my scenario is that i add columns to rows in one CF, UserData, with
> >> logging data or activity, but we only want to keep, say 5000 columns per
> >> user.  So i also store the user's ID in another CF, PruneCollection, and
> >> periodically iterate over it using the IDs found in PruneCollection to
> >> "prune" the columns in UserData - and then immediately delete the ID from
> >> PruneCollection.  if the code is adding, say 50 IDs per second to
> >> PruneCollection then the number of deleted keys starts to build up, forcing
> >> my iterator to skip over large amounts of deleted keys.  With a small
> >> GCGraceSeconds these keys are removed nicely, but i can't do that because it
> >> affects the tombstones in UserData as well, which need to be propagated.
> >>
> >> thoughts?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message