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 C859ED5B5 for ; Sun, 7 Oct 2012 15:45:44 +0000 (UTC) Received: (qmail 41072 invoked by uid 500); 7 Oct 2012 15:45:42 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 41047 invoked by uid 500); 7 Oct 2012 15:45:42 -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 41039 invoked by uid 99); 7 Oct 2012 15:45:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Oct 2012 15:45:42 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of edlinuxguru@gmail.com designates 209.85.223.172 as permitted sender) Received: from [209.85.223.172] (HELO mail-ie0-f172.google.com) (209.85.223.172) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Oct 2012 15:45:35 +0000 Received: by mail-ie0-f172.google.com with SMTP id 9so8645696iec.31 for ; Sun, 07 Oct 2012 08:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ni6pLgNFXMDhNXzOztofyh9VsLQ1DGk4Pd+WV2Z9z1U=; b=JeY1dq4kzaIECWlgA+rSZu7n0JwjgrlxGnscYwlmDyPcbLiO3wjBJg2sfN4zj7Lb5w YKbanO59QPy4mMyWsYDzeBU7MdNYRvHjpBf4ZpMMTZHIOfCaqNgAwR/wm0z2r1HVKsoX xFLCXufwGoOpbcsuD9nsnppo+rbW9h2A0qYxTCaHBCsJR+70cCBBFkRKf4FVx/OxQyFH /mXit4UG+Pr1HuXiIw+zOYJr6lWMXeSPPTbBRi1veu5lhLUXs7EGipYuaE4uDKPSWBvg /tEkktlCtu5w5e7KuxqnbUKVZjBL0R7QdaWXWHu6pdEO89fU7CD14XUvKOROsEXaVVmx HMQw== MIME-Version: 1.0 Received: by 10.50.11.194 with SMTP id s2mr5996658igb.24.1349624714827; Sun, 07 Oct 2012 08:45:14 -0700 (PDT) Received: by 10.64.97.106 with HTTP; Sun, 7 Oct 2012 08:45:14 -0700 (PDT) In-Reply-To: <456921.80308.qm@web100105.mail.kks.yahoo.co.jp> References: <456921.80308.qm@web100105.mail.kks.yahoo.co.jp> Date: Sun, 7 Oct 2012 11:45:14 -0400 Message-ID: Subject: Re: how to avoid range ghosts? From: Edward Capriolo To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=e89a8f646b07b5192a04cb79fd28 --e89a8f646b07b5192a04cb79fd28 Content-Type: text/plain; charset=ISO-8859-1 Read this: http://wiki.apache.org/cassandra/FAQ#range_ghosts Then say this to yourself: http://cn1.kaboodle.com/img/b/0/0/196/4/AAAAC1xHoQAAAAAAAZZL9w/ghostbusters-logo-i-aint-afraid-of-no-ghost-pinback-button-1.25-pin-badge.jpg?v=1320511953000 On Sun, Oct 7, 2012 at 4:15 AM, Satoshi Yamada wrote: > Hi, > > What is the recommended way to avoid range ghost in using get_range()? > In my case, order of the key is not problem. It seems valid to use random > :start_key in every query, but i'm new to cassandra and do not know if > it's > recommended or not. > > I use Cassandra 1.1.4 and ruby client. Range ghosts happens when one > process keeps on inserting data while other process get_range and delete > them. > > thanks in advance, > satoshi > --e89a8f646b07b5192a04cb79fd28 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Read this:

http://wiki.apache.org/cassandra/FAQ#range_ghosts

Then say = this to yourself:

http://cn1.kaboodle.com/img/b= /0/0/196/4/AAAAC1xHoQAAAAAAAZZL9w/ghostbusters-logo-i-aint-afraid-of-no-gho= st-pinback-button-1.25-pin-badge.jpg?v=3D1320511953000

On Sun, Oct 7, 2012 at 4:15 AM, Satoshi Yama= da <bigtvioletblue@yahoo.co.jp> wrote:
Hi,

What is the recomm= ended way to avoid range ghost in using get_range()?
In my case, = order of the key is not problem. It seems va= lid to use random
=A0:start_key in every query, but i'= ;m new to=A0cassandra and do not know= if it's
recommended or= not.

I use=A0Cassandra 1.1.4 = and ruby client. Range ghosts happens when one
process keeps on inserting data while other process get= _range and delete
them.

thanks in advance,
satoshi

--e89a8f646b07b5192a04cb79fd28--