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 8018E11413 for ; Fri, 11 Apr 2014 23:38:57 +0000 (UTC) Received: (qmail 78910 invoked by uid 500); 11 Apr 2014 23:38:54 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 78844 invoked by uid 500); 11 Apr 2014 23:38:54 -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 78836 invoked by uid 99); 11 Apr 2014 23:38:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2014 23:38:54 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FROM_12LTRDOM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.216.179] (HELO mail-qc0-f179.google.com) (209.85.216.179) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2014 23:38:50 +0000 Received: by mail-qc0-f179.google.com with SMTP id m20so6657563qcx.38 for ; Fri, 11 Apr 2014 16:38:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=evilmartians.com; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=aDrtpeKY2Bnc0LK2FH8lcnnaKVT2nzFdAtQWXqFE+lQ=; b=m21RGl/vae3efuh7oDXRwRFiqsiiJLku5J+H9clvDcggmdu/QrFdtl2j6H/3S21gEh jQv+lbi/q2qKJQrwSl3MD9LsbAN+0/G8LHUOJloS7dLwbc969oGws7QJLZlQ9YQ5ceFt GM+vE5tQlnImB5EMZ5N1N662ytceOh7/G3bx8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=aDrtpeKY2Bnc0LK2FH8lcnnaKVT2nzFdAtQWXqFE+lQ=; b=XwYsZZUh/V6b1O3xpnTJY4UvlEr6DAPRAMim7qtNEQI7lWSavEVNCmoeJRj2lQv0Fn El42n4uvCEvzbDar1w1uEQRsnIw9rdKh9nLdml+SSQETkdTZdkCzRFccUHdinS1zOI6E q+JLdjnhYFuDTsDAtcMm+t74DPL9dkAZ4CKyZRY9k1Ku7s7A6hjMs2iN3GPbb4cF63Ya YrOYnuYze3jgYXvAIUd6iWZ9GlGD7qg0HqvLUTcf5LgVXjCX0WXLfrR5mGKaoMo+/9CH tnwGcbO3e/5S59z41H5tA1B22Rm6NBh8hvANnnhAJdp3ITH6vkQsVpVvAgS+abwl80KZ SpuA== X-Gm-Message-State: ALoCoQmpH+Qaer3m95m+D5OB2AC3jyxALIz1/VRRy9PDJrZ7Aj47zSCZQMdwc8zMN2CpuRTBs+Rh MIME-Version: 1.0 X-Received: by 10.224.47.130 with SMTP id n2mr29968191qaf.26.1397259507215; Fri, 11 Apr 2014 16:38:27 -0700 (PDT) Received: by 10.140.48.228 with HTTP; Fri, 11 Apr 2014 16:38:27 -0700 (PDT) Date: Sat, 12 Apr 2014 03:38:27 +0400 Message-ID: Subject: Eventual consistency with replication factor 1 From: Ravil Bayramgalin To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a1134b004963d7e04f6ccd425 X-Virus-Checked: Checked by ClamAV on apache.org --001a1134b004963d7e04f6ccd425 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've got classical eventual consistency symptoms (read after write returns empty result) but there is a surprising twist. The keyspace has replication factor 1 (it's used as a cache) so how can I get a stale result? Cassandra version 1.2.15. Consistency settings (although I think they should not matter with one-replica case): Read =E2=80=94 CL.ONE Write =E2=80=94 CL.ALL If you need any additional info I would be happy to provide! --001a1134b004963d7e04f6ccd425 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I've got classical eventual consistency symptoms (read= after write returns empty result) but there is a surprising twist. The key= space has replication factor 1 (it's used as a cache) so how can I get = a stale result?

Cassandra version 1.2.15.

Cons= istency settings (although I think they should not matter with one-replica = case):
Read =E2=80=94 CL.ONE
Write =E2=80=94 CL.ALL

If you need any additional info I would be happy to provide!
--001a1134b004963d7e04f6ccd425--