Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 41D2D10567 for ; Fri, 6 Sep 2013 02:24:17 +0000 (UTC) Received: (qmail 56121 invoked by uid 500); 6 Sep 2013 02:24:17 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 56077 invoked by uid 500); 6 Sep 2013 02:24:17 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 56068 invoked by uid 99); 6 Sep 2013 02:24:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Sep 2013 02:24:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Sep 2013 02:24:14 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id CC97071D; Fri, 6 Sep 2013 02:23:53 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Fri, 06 Sep 2013 02:23:53 -0000 Message-ID: <20130906022353.17044.16800@eos.apache.org> Subject: =?utf-8?q?=5BCassandra_Wiki=5D_Trivial_Update_of_=22FAQ=22_by_JonathanEll?= =?utf-8?q?is?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for= change notification. The "FAQ" page has been changed by JonathanEllis: https://wiki.apache.org/cassandra/FAQ?action=3Ddiff&rev1=3D161&rev2=3D162 <> =3D=3D What happens if two updates are made with the same timestamp? =3D= =3D = - Updates must be commutative, since they may arrive in different orders on= different replicas. Thus, in the case of a timestamp tie, Cassandra follo= ws two rules: first, deletes take precedence over inserts/updates. Second,= if there are two updates, the one with the lexically larger value is selec= ted. + Updates must be commutative, since they may arrive in different orders on= different replicas. As long as Cassandra has a deterministic way to pick = the winner, the one selected is as valid as any other, and the specifics sh= ould be treated as an implementation detail. That said, in the case of a t= imestamp tie, Cassandra follows two rules: first, deletes take precedence o= ver inserts/updates. Second, if there are two updates, the one with the le= xically larger value is selected. =20