Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 22253 invoked from network); 10 Feb 2011 22:12:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Feb 2011 22:12:21 -0000 Received: (qmail 88422 invoked by uid 500); 10 Feb 2011 22:12:21 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 88404 invoked by uid 500); 10 Feb 2011 22:12:21 -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 88396 invoked by uid 99); 10 Feb 2011 22:12:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 22:12:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Feb 2011 22:12:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 54F3019DBDC for ; Thu, 10 Feb 2011 22:11:58 +0000 (UTC) Date: Thu, 10 Feb 2011 22:11:58 +0000 (UTC) From: "Hudson (JIRA)" To: commits@cassandra.apache.org Message-ID: <2064620675.9102.1297375918344.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1856211205.6139.1296686609061.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (CASSANDRA-2102) saved row cache doesn't save the cache 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-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12993238#comment-12993238 ] Hudson commented on CASSANDRA-2102: ----------------------------------- Integrated in Cassandra-0.7 #276 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/276/]) > saved row cache doesn't save the cache > -------------------------------------- > > Key: CASSANDRA-2102 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2102 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.7.0 > Reporter: Matthew F. Dennis > Assignee: Matthew F. Dennis > Fix For: 0.7.1 > > Attachments: 2102-cassandra-0.7-v2.txt, 2102-cassandra-0.7.txt > > > saving row caches works by periodically iterating of the keySet() on the caches and writing the keys for the cached contents to disk. The cache keys are DecoratedKeys. DecoratedKeys contain a Token token and a ByteBuffer key. The underlying buffer on the key gets reused so the contents change. This means that all the cache entries have distinct tokens but only a handful of distinct key values. This means that when the cache is loaded you only end up loading a handful of keys instead of the ones actually in your cache. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira