Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 2142 invoked from network); 4 Oct 2010 20:06:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Oct 2010 20:06:56 -0000 Received: (qmail 96994 invoked by uid 500); 4 Oct 2010 20:06:56 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 96956 invoked by uid 500); 4 Oct 2010 20:06:56 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 96948 invoked by uid 99); 4 Oct 2010 20:06:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 20:06:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 20:06:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o94K6Z09000957 for ; Mon, 4 Oct 2010 20:06:35 GMT Message-ID: <17967071.535731286222795676.JavaMail.jira@thor> Date: Mon, 4 Oct 2010 16:06:35 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-1417) add cache save/load In-Reply-To: <810356.488111282394119688.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-1417: -------------------------------------- Fix Version/s: (was: 0.7 beta 2) 0.7.0 > add cache save/load > ------------------- > > Key: CASSANDRA-1417 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1417 > Project: Cassandra > Issue Type: New Feature > Components: Core > Reporter: Jonathan Ellis > Assignee: Matthew F. Dennis > Fix For: 0.6.6, 0.7.0 > > Attachments: 1417-cassandra-0.6-v3.txt, 1417-cassandra-0.6-v4.txt, 1417-cassandra-0.6-v5.txt, 1417-cassandra-0.6-v7.txt, 1417-cassandra-0.6.txt, 1417-trunk-v7.txt, 1417-v2.txt, 1417-v6.txt, 1417-v8.txt > > > Since mixing 0.7 nodes with 0.6 is looking increasingly unlikely to be supported because of the deep changes to the Thrift API, we should allow saving out the 0.6 cache and loading it on startup so that we don't inflict the pain of an entire cluster of cold cache on upgraders. > The cache format should just be a list of row keys. Loading it is as simple as calling getColumnFamily (with a zero-column predicate) on each row, for row cache. > Key cache is more complicated, but only a little. First is that you have to de-duplicate the row keys from multiple sstables. (Saving which sstable version it's associated with is less useful, since that will be obsoleted by compaction.) Second is that we don't need to actually read any row data, we just need to go through the index locator part of the read path (getPosition). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.