Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A21069A59 for ; Mon, 23 Apr 2012 08:56:55 +0000 (UTC) Received: (qmail 55921 invoked by uid 500); 23 Apr 2012 08:56:53 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 55615 invoked by uid 500); 23 Apr 2012 08:56:47 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 55595 invoked by uid 99); 23 Apr 2012 08:56:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2012 08:56:46 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sylvain@datastax.com designates 209.85.214.172 as permitted sender) Received: from [209.85.214.172] (HELO mail-ob0-f172.google.com) (209.85.214.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2012 08:56:40 +0000 Received: by obbwd20 with SMTP id wd20so12639368obb.31 for ; Mon, 23 Apr 2012 01:56:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=k8lB88xXmfenw0unvwaox7vvFqmfNKBgWM52+tS7bUg=; b=kDVTxM6wzm2bV3qViM8OXw96zfC8Fk2W710k/HmmFoZFCvzrZLDnhBJSpHveaJ/9Yj jpmOb9yykjFSlRv13UBEzv9tjWsC/13ed7B9dn3vtgO/SKMS3x5Bs7K/a3PqbSIXHKx1 uZY37si2DVbvtuccWyPuHQH+RuLjxm6/7QRc80xsZI42AhHPBlZJ/fjQIWc+sqoc3IQ7 FCIV6zYB/N8E4SytuxLviVK76HEFGJGdhg8kFt313UIr0bwdG4UF7afoP7B3nltNjdOk 0l9bbz/MMqwhJwy0UWXtcCooJ/BbMO5wXO73cT9vh7MQMpSyW1NvHpu+TFO496jm1NU4 f1Ig== MIME-Version: 1.0 Received: by 10.60.0.201 with SMTP id 9mr21057635oeg.59.1335171378872; Mon, 23 Apr 2012 01:56:18 -0700 (PDT) Received: by 10.60.65.161 with HTTP; Mon, 23 Apr 2012 01:56:18 -0700 (PDT) In-Reply-To: <12032_1335169200_4F9510B0_12032_4431_1_AEE40020481AB74EAADC798FC2BC7C4A01B0AF3CE43C@THSONEA01CMS03P.one.grp> References: <3FFCCFCC-5394-4919-8A0B-D5302789B700@gmail.com> <12032_1335169200_4F9510B0_12032_4431_1_AEE40020481AB74EAADC798FC2BC7C4A01B0AF3CE43C@THSONEA01CMS03P.one.grp> Date: Mon, 23 Apr 2012 10:56:18 +0200 Message-ID: Subject: Re: question about updates internal work in case of cache From: Sylvain Lebresne To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQn9uAw/pmtlumG31ePAqujfqQt1tyezLXGLbsNQfvaSsYb+qDb7xUlIVHL9E9dWwkvuxCFL On Mon, Apr 23, 2012 at 10:19 AM, DE VITO Dominique wrote: > Hi, > > > > Let's suppose a column (name+value) is cached in memory, with timestamp T. > > > > 1) An update, for this column, arrives with exactly the *same* timestamp, > and the *same* value. > > Is the commitlog updated ? > > > > 2) An update, for this column, arrives with a timestamp < T. > > Is the commitlog updated ? > Yes to both, the commit log is always updated. In fact, the commit log insertion is done in parallel and independently with in-memory updates (which include caches updates). -- Sylvain > > > Thanks for your help. > > > > Regards, > > Dominique > >