Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 25603 invoked from network); 5 Oct 2009 16:05:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Oct 2009 16:05:30 -0000 Received: (qmail 79760 invoked by uid 500); 5 Oct 2009 16:05:17 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 79735 invoked by uid 500); 5 Oct 2009 16:05:17 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 79722 invoked by uid 99); 5 Oct 2009 16:05:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 16:05:16 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of m.stollenga@gmail.com designates 209.85.219.209 as permitted sender) Received: from [209.85.219.209] (HELO mail-ew0-f209.google.com) (209.85.219.209) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 16:05:06 +0000 Received: by ewy5 with SMTP id 5so2130369ewy.12 for ; Mon, 05 Oct 2009 09:03:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=MTAd4rQmHJ+j0MUcVr7rGPPB3zsxaXlnf6xpfqmQmV4=; b=VUoF12P788E07IFm1GK5ZF13r6WdeG44pnY00X/UUJZmoBYi/rKCPoFUk85Dip4S1W ruLH5KmRiUIdcAUccx7kcH94cCUCSXPuRlvHesvvSfnc0YgN1rC2/mtoVgeu7r4D7OTc 7MPCjVV9WZtgyQweu9YQbhwnwIcSHm9+FWL/g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=ic/UXMGff09qGoqoNgeF/bdYubErzyitic/dYmNxQuGyqk03oZanXDF0b9Q71FBQoN l6IGptfrhDP8LrQToIlZemqsCEN5eVCgw7hZM9UExQSKZxzFEdYEv+soFq/ykI5qokRB EDq0upmD6Z77/XCnKOe0MTL5r81oV9ramz910= Received: by 10.211.145.15 with SMTP id x15mr239282ebn.6.1254758626119; Mon, 05 Oct 2009 09:03:46 -0700 (PDT) Received: from ?192.168.1.127? (82-170-236-245.ip.telfort.nl [82.170.236.245]) by mx.google.com with ESMTPS id 28sm67098eyg.36.2009.10.05.09.03.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 05 Oct 2009 09:03:45 -0700 (PDT) From: Marijn Stollenga Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: conflict resolving Date: Mon, 5 Oct 2009 18:03:43 +0200 Message-Id: To: user@couchdb.apache.org Mime-Version: 1.0 (Apple Message framework v1076) X-Mailer: Apple Mail (2.1076) X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the help guys! I also have another question. In the game I am making there probably can be conflicts as a result of race- conditions. I am not sure how I will resolve these, but one idea is to find the conflicts in couchdb and resolve them with some routine. What is the best way to find and resolve conflicts? I could make a view that shows conflicting documents, which I periodically check and then resolve. But I don't really like the fact that there are delays in that setup (between conflict creation and finding it using the view). Is there a way to hook up a conflict-resolver immediately as a conflict gets created? Marijn