Return-Path: Delivered-To: apmail-incubator-cassandra-dev-archive@minotaur.apache.org Received: (qmail 72002 invoked from network); 26 Feb 2010 17:23:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Feb 2010 17:23:26 -0000 Received: (qmail 83865 invoked by uid 500); 26 Feb 2010 17:23:26 -0000 Delivered-To: apmail-incubator-cassandra-dev-archive@incubator.apache.org Received: (qmail 83850 invoked by uid 500); 26 Feb 2010 17:23:26 -0000 Mailing-List: contact cassandra-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-dev@incubator.apache.org Received: (qmail 83842 invoked by uid 99); 26 Feb 2010 17:23:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 17:23:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gdusbabek@gmail.com designates 209.85.160.175 as permitted sender) Received: from [209.85.160.175] (HELO mail-gy0-f175.google.com) (209.85.160.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2010 17:23:18 +0000 Received: by gyd5 with SMTP id 5so154093gyd.6 for ; Fri, 26 Feb 2010 09:22:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type; bh=klOaDhmkd1u+t5DHOjUxQ0YYsoyks2TugRr+MuYJf8E=; b=c/rkFBc/1rofvQKwtwsgw97OWrzzOOdzER+9E2Xo9XcjqEkc+rnkKNMM8ZVttXgD+4 8HIPKyhIxFvm7TPGW9AYsP9dt9eOcSL8Guf+qpS0g+FLDIk61AfT8VPfmbnfhvoaPVX5 cuc0cmUkSKtklW3ojoUZOWDjviX2WW5xPGkMA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; b=pxAB9fUME1Tb9KPyVeROtIl4dSmi7s519Zr1wraTtdJ0A9ge509qwjiqjOQB3Iq2gH WsEroBYKJhwqp3/0WCD4n9dkTEUlgmfUvOyC+fqDFJNn+/uTRFJh8oRBn95YZKORntEX sCA7NM6dO1yLP1lAunihL9T1u1V5V+JU5F0Yc= MIME-Version: 1.0 Received: by 10.150.16.4 with SMTP id 4mr1162133ybp.110.1267204977885; Fri, 26 Feb 2010 09:22:57 -0800 (PST) Reply-To: gdusbabek@gmail.com Date: Fri, 26 Feb 2010 11:22:57 -0600 Message-ID: <1c6fcff1002260922m12fbcc1dg97048ec1bc727c39@mail.gmail.com> Subject: Commit log changes in 0.7 From: Gary Dusbabek To: cassandra-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org The commit log currently has a header section whose size is constant, but is a function of the total number of defined column families. This isn't going to work with CASSANDRA-44 where CFs can be added or removed on the fly. I see two options: 1. hard code the size of the header to accommodate a maximum number of CFs. I don't like this approach because it imposes a hard limit. 2. move the header into its own file. I don't like this because it adds complexity. Any better other ideas? Some background: the data stored in the header indicates a) which CFs are 'dirty' and b) log replay offsets for each CF.