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 B53CD90FA for ; Wed, 22 Feb 2012 19:00:21 +0000 (UTC) Received: (qmail 16160 invoked by uid 500); 22 Feb 2012 19:00:19 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 16123 invoked by uid 500); 22 Feb 2012 19:00:19 -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 16114 invoked by uid 99); 22 Feb 2012 19:00:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 19:00:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a59.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 19:00:12 +0000 Received: from homiemail-a59.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a59.g.dreamhost.com (Postfix) with ESMTP id BE723564069 for ; Wed, 22 Feb 2012 10:59:50 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; q=dns; s=thelastpickle.com; b=b84XgbFBn+ SxqoDraCKmipoYu7fjn9MugdDpisnnJ0BGYHbdR29h1FhexsJ0DeILIfzc3dgfqx I7Bw6hMEFGdzk/ZziZG50xzIZhQrWIDpgwIpmEKS484K3gnBGjBv4aGKpArWP7r6 t3/+PgOHhpdie3UDxdpIIlodh7CNeDpOE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :mime-version:content-type:subject:date:in-reply-to:to :references:message-id; s=thelastpickle.com; bh=w/kRa9C3DoTAkVvr Py1e+dlZyHE=; b=c0XLhVd6d0KHl5x5D+kzs3H/UTaz2NtkR+T+PxmP7vu59/qh SKW2wv3La0uRGMd7xgtA588XXLNU3CdjvBKmpgY4D3IIPGhONil8GTnI5b+GFIv+ Hbb0KOnaIaEp+hP5fevIopTzpQfeAazi+kjwJOTVX4lMpwydl2gmb4sP5MI= Received: from [172.16.1.3] (125-236-193-159.adsl.xtra.co.nz [125.236.193.159]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a59.g.dreamhost.com (Postfix) with ESMTPSA id 3F9B7564061 for ; Wed, 22 Feb 2012 10:59:50 -0800 (PST) From: aaron morton Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: multipart/alternative; boundary="Apple-Mail=_9A69E1D9-E9F1-4C42-A30D-C31BF82BAFE0" Subject: Re: Logging 'write' operations Date: Thu, 23 Feb 2012 07:59:48 +1300 In-Reply-To: To: user@cassandra.apache.org References: Message-Id: X-Mailer: Apple Mail (2.1257) --Apple-Mail=_9A69E1D9-E9F1-4C42-A30D-C31BF82BAFE0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 In theory you could grab the commit log, you would then have to work = with internal cassandra structures to understand what is in there.=20 Otherwise do it at the app level or design it into your data model.=20 Cheers =20 ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 22/02/2012, at 7:18 AM, A J wrote: > Hello, > What is the best way to log write operations (insert,remove, counter > add, batch operations) in Cassandra. I need to store the operations > (with values being passed) in some fashion or the other for audit > purposes (and possibly to undo some operation after inspection). >=20 > Thanks. --Apple-Mail=_9A69E1D9-E9F1-4C42-A30D-C31BF82BAFE0 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 In = theory you could grab the commit log, you would then have to work with = internal cassandra structures to understand what is in = there. 

Otherwise do it at the app level or = design it into your data = model. 

Cheers
 
http://www.thelastpickle.com

On 22/02/2012, at 7:18 AM, A J wrote:

Hello,
What is the best way to log write = operations (insert,remove, counter
add, batch operations) in = Cassandra. I need to store the operations
(with values being passed) = in some fashion or the other for audit
purposes (and possibly to undo = some operation after = inspection).

Thanks.

<= /html>= --Apple-Mail=_9A69E1D9-E9F1-4C42-A30D-C31BF82BAFE0--