Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-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 D57D8105F3 for ; Thu, 13 Feb 2014 14:08:52 +0000 (UTC) Received: (qmail 51406 invoked by uid 500); 13 Feb 2014 14:08:49 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 51358 invoked by uid 500); 13 Feb 2014 14:08:48 -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 51343 invoked by uid 99); 13 Feb 2014 14:08:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Feb 2014 14:08:47 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dch@jsonified.com designates 209.85.217.172 as permitted sender) Received: from [209.85.217.172] (HELO mail-lb0-f172.google.com) (209.85.217.172) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Feb 2014 14:08:41 +0000 Received: by mail-lb0-f172.google.com with SMTP id c11so8346302lbj.31 for ; Thu, 13 Feb 2014 06:08:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jsonified.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qOxRioCfaKSnMpzKR5WFW3lqxB//lBSeM9ZpFakBDxI=; b=CR2iuBY1dkO8PdzRfO6R1a1X0TK63qJy0fQ7vAq5MZ/MYknJmlxOUl5RV0PqKwMZ1R ECdvCvrG/1sCl2jCFacMzeayIzIKlboYlB7uphQv+A/i3MvHXb/Si68OmJQqY2czRclG VmbmugLTPYcEgdDILvWZVisL7inFwDCELxtDg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=qOxRioCfaKSnMpzKR5WFW3lqxB//lBSeM9ZpFakBDxI=; b=LaEnHAc74HEdMXSnYmkPxjVf2G+hV4YKcz3CEgPTpadfl2coSJ0lcIcjRSLUoWPxCi sUJ08kivg2m8CJehpI8d6xiOz/MAMhH0CHGMMtmiAzwjQijx1ql9lIh+sfNPXsqbCqoU NpEYadivDVdQFh0wrvoC/+wW3fXqowkgtNKp1WHx32To0aia+jNbohfptAK96vLboHE+ RoQGjzHZye4pUMqeuJOsoZmikO1UwqdMMAx8L8Eeeiz/ck3QNNwd8g0A9e+GX6dytdfM qrJ8Z85ecKzLM+Za5Dw6XsTBopK6iBX47Q8Ln3npU6awQ+5H4McjT1B61DQJ7aNNATiI ky6Q== X-Gm-Message-State: ALoCoQmbhzP3kq1J9wJW1/M3pNfL/Jx2R9BHsk9OTEMXONWaZ9X06D2ah1KQWnQPZysP2JLl02Pu MIME-Version: 1.0 X-Received: by 10.112.172.8 with SMTP id ay8mr1086528lbc.41.1392300500794; Thu, 13 Feb 2014 06:08:20 -0800 (PST) Received: by 10.112.154.137 with HTTP; Thu, 13 Feb 2014 06:08:20 -0800 (PST) X-Originating-IP: [84.112.19.176] In-Reply-To: References: Date: Thu, 13 Feb 2014 15:08:20 +0100 Message-ID: Subject: Re: Changes API with user details From: Dave Cottlehuber To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On 13 February 2014 14:09, Suraj Kumar wrote: > Hi, > > Is it possible to get which user caused a change? Also, what about the time > of the change? If not possible, do you think its useful to have this > available as part of couch core? Is it worth doing this via a plugin? Hey Suraj, These questions usually answer themselves when you put some key pieces of info together" 1. replication is asynchronous and may take place over days, weeks or longer. 2. the "time" at which a change arrives at another instance may not represent the time it arrived at the first instance. 3. you can put any info you like into a document, and use a validation function to enforce it. If that's not enough, please add some more info on your use case. A+ Dave