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 E1E8BC9F4 for ; Tue, 22 May 2012 15:19:41 +0000 (UTC) Received: (qmail 68498 invoked by uid 500); 22 May 2012 15:19:40 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 68463 invoked by uid 500); 22 May 2012 15:19:40 -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 68455 invoked by uid 99); 22 May 2012 15:19:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2012 15:19:40 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of gregor@martynus.net does not designate 209.85.215.180 as permitted sender) Received: from [209.85.215.180] (HELO mail-ey0-f180.google.com) (209.85.215.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2012 15:19:32 +0000 Received: by eaai12 with SMTP id i12so1777170eaa.11 for ; Tue, 22 May 2012 08:19:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:message-id:subject:x-mailer:mime-version:content-type :x-gm-message-state; bh=QQH3pm/KNGX0PvaqcbZ3eGrKeTRdMRQRc6yxcVST1Ik=; b=Jt5N+UYzovbuvxYhcyRhgNbkzocfeFofyoGb7tBZdl5k3GOS7eF9ts+cvwaJpViQaO TMK/eg0deZm1BgA7urPih5L6GwA67NqhoyYdDZonWLjyRxqwpfMVp9kQ6P4QjLVpFs42 /ha5HKFk4ZhJbcWoWngfEMljeysIO3WJkwXa67rNUzq7utfj4UsgV8ebHV5rsiu9R48U bKmPNTMGv3AJvCyP5gWlXwZz5WXqvctDBQsV4Vpp/ZXk3vmI7F+sMCA91l9W0Y0ZYXQg TRgHvLm61Rgkuh561d3N4zc+UhL/vnzs1OyF17zuoQWp5FqTVHHhPJ5jeg2NZ5PRA8H/ i3Zw== Received: by 10.213.112.140 with SMTP id w12mr5100177ebp.143.1337699950259; Tue, 22 May 2012 08:19:10 -0700 (PDT) Received: from Gregor-Martynuss-MacBook-Pro.local (62-2-200-206.static.cablecom.ch. [62.2.200.206]) by mx.google.com with ESMTPS id u10sm108125892eem.1.2012.05.22.08.19.08 (version=SSLv3 cipher=OTHER); Tue, 22 May 2012 08:19:09 -0700 (PDT) Date: Tue, 22 May 2012 17:19:05 +0200 From: Gregor Martynus To: user@couchdb.apache.org Message-ID: <5CE5E627D3974CE18853BFCA6942C520@martynus.net> Subject: per-user databases & collaboration problem X-Mailer: sparrow 1.5 (build 1043.1) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="4fbbae69_6f00529a_14d" X-Gm-Message-State: ALoCoQl51iR+TbKxJwvdvdVIkUmpOpQjqWNsdBe7usd0026KH9VMwC6g/oWZgVnU1Y7ogwSld6GK X-Virus-Checked: Checked by ClamAV on apache.org --4fbbae69_6f00529a_14d Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey everyone, Imagine the following setup: 3 databases with 2 cont. replications: "user/joe" || || cont. replication (filtered) || \/ "shared/123" || || cont. replication || \/ "user/sarah" Joe (user/joe) is sharing a list of documents with an extra database (shared/123) and a filtered replication. Sarah (user/sarah) subscribed to the Joe's shared documents with another cont. replication. So far, so awesome. And now the Problem: 1. Sarah deletes Joe's documents and stops the replication. 2. Sarah changes her mind, she wants to have the documets back again 3. it doesn't work, because new revisions have been added for each deleted document, the shared documents do not get replicated because of the conflicts. And here I am, and don't see a "couch way" to solve this problem. Neither do I see a simple workaround. Is there anything you can think of, to solve or work around this problem? Or is this kind of "sharing" between user databases broken by design? -- Gregor --4fbbae69_6f00529a_14d--