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 5D2E29BC5 for ; Sat, 11 Feb 2012 11:00:19 +0000 (UTC) Received: (qmail 15724 invoked by uid 500); 11 Feb 2012 11:00:17 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 15078 invoked by uid 500); 11 Feb 2012 11:00:03 -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 15062 invoked by uid 99); 11 Feb 2012 11:00:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Feb 2012 11:00:00 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lomakin.andrey@gmail.com designates 209.85.214.52 as permitted sender) Received: from [209.85.214.52] (HELO mail-bk0-f52.google.com) (209.85.214.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Feb 2012 10:59:52 +0000 Received: by bkcji1 with SMTP id ji1so3954139bkc.11 for ; Sat, 11 Feb 2012 02:59:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:mime-version:content-type:x-mailer :thread-index:content-language; bh=vXJu3a9Ik7wyyylunU7Jdh6wx4um7mXw7BcCXrhRZwI=; b=pazXAopFVNJi9C9sCxM53HYgLAZvQWkJ7EHdn5Dq9ZRdAPgNq+4LD2Po/1dhODU92I Y6ew9QFJMoJthi+v5cGm5D6JRIYEJLVMblvZwRLeoS/BvjB9ibGalFS+Ffxtohz/HGqj QtyBz9H50dEG/SPPzCVu5Hxv2g+4/Too6cM7w= Received: by 10.204.141.15 with SMTP id k15mr3960791bku.132.1328957969836; Sat, 11 Feb 2012 02:59:29 -0800 (PST) Received: from LocalHost ([212.115.227.213]) by mx.google.com with ESMTPS id x22sm26087019bkw.11.2012.02.11.02.59.28 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 11 Feb 2012 02:59:29 -0800 (PST) From: "Andrey Lomakin" To: Subject: Orphans of Hierarchical Data Date: Sat, 11 Feb 2012 12:59:20 +0200 Message-ID: <000001cce8ac$35c4ca50$a14e5ef0$@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01CCE8BC.F94E5DA0" X-Mailer: Microsoft Outlook 14.0 Thread-Index: Aczoq0KGbE5Xd79qSuiuoMb6rTJHOQ== Content-Language: ru ------=_NextPart_000_0001_01CCE8BC.F94E5DA0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Hi, all. I read article in Wiki about hierarchical data http://wiki.apache.org/couchdb/HierarchicalData?action=show . The question that I need to resolve is detection of orphans in case for example when at first server node tree node and its descendants were removed, but at second sever node child was added to the deleted tree node and after the replication orphans were appeared. Is there any patterns/approaches how to handle this ? With best regards, Andrey. ------=_NextPart_000_0001_01CCE8BC.F94E5DA0--