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 61BA510AD8 for ; Tue, 26 Nov 2013 08:13:51 +0000 (UTC) Received: (qmail 5026 invoked by uid 500); 26 Nov 2013 08:13:46 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 4545 invoked by uid 500); 26 Nov 2013 08:13:38 -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 4515 invoked by uid 99); 26 Nov 2013 08:13:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Nov 2013 08:13:37 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rwille@fold3.com designates 38.101.149.73 as permitted sender) Received: from [38.101.149.73] (HELO mx02.iarchives.com) (38.101.149.73) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Nov 2013 08:13:32 +0000 Received: from mx02.iarchives.com (localhost [127.0.0.1]) by mx02.iarchives.com (Postfix) with ESMTP id 14DA3C1378 for ; Tue, 26 Nov 2013 01:13:12 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=fold3.com; h=date :subject:from:to:message-id:mime-version:content-type; s=m1; bh= GfmmRfnsjMIuXMuXgwLU3+bvicpaNRLvcL1tbheeOQM=; b=EcFprLsE5hJ5UU/X ltRtqX7afzBiJSLiVD1qg5esf5Cq9x6M/nMSKTCNJFMM8HZ420CxDqy2zRwOD8RS tyAvJpc4h0PqzjyJNyBfMx4BbDDn3+piA/hMTZq0IjV0j4CPAD/IDVQbhuH1q4hG RZ7ly9FrXFdsyXmp1FBy8p0d5AM= Received: from PANDORA.iarchives.com (pandora.iarchives.com [192.168.100.88]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx02.iarchives.com (Postfix) with ESMTPS id E20C2C1374 for ; Tue, 26 Nov 2013 01:13:11 -0700 (MST) Received: from [10.88.88.10] (192.168.97.117) by PANDORA.iarchives.com (192.168.100.88) with Microsoft SMTP Server (TLS) id 14.1.438.0; Tue, 26 Nov 2013 01:13:34 -0700 User-Agent: Microsoft-MacOutlook/14.3.6.130613 Date: Tue, 26 Nov 2013 01:13:06 -0700 Subject: WRITETIME() sometimes returns 0 From: Robert Wille To: "user@cassandra.apache.org" Message-ID: Thread-Topic: WRITETIME() sometimes returns 0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="B_3468273191_230864601" X-Virus-Checked: Checked by ClamAV on apache.org --B_3468273191_230864601 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I've got a Cassandra 2.0.2 server with a single node. I've written a test harness that populates the database, looks at the write times for each column, runs the test cases, and then checks to see what columns have been updated. However, when I query WRITETIME() (prior to running the test cases), over half the time it returns 0 (not null, but 0). It's pretty consistent which columns return the real write time and which ones return 0. I've even tried adding a 10 second delay between populating the database and checking the write times, and it doesn't help. When its all done, if I call writetime() on a column for cqlsh, I get a non-zero value. Any thoughts? What has to happen before a write time is available? Thanks in advance. Robert --B_3468273191_230864601 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
I've got a Cassandra 2.0.2 s= erver with a single node. I've written a test harness that populates the dat= abase, looks at the write times for each column, runs the test cases, and th= en checks to see what columns have been updated. However, when I query WRITE= TIME() (prior to running the test cases), over half the time it returns 0 (n= ot null, but 0). It's pretty consistent which columns return the real write = time and which ones return 0. I've even tried adding a 10 second delay betwe= en populating the database and checking the write times, and it doesn't help= . When its all done, if I call writetime() on a column for cqlsh, I get a no= n-zero value.

Any thoughts? What has to happen befo= re a write time is available?

Thanks in advance.

Robert
--B_3468273191_230864601--