Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 97190 invoked from network); 17 Mar 2010 16:23:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Mar 2010 16:23:55 -0000 Received: (qmail 62968 invoked by uid 500); 17 Mar 2010 16:23:54 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 62832 invoked by uid 500); 17 Mar 2010 16:23:54 -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 Delivered-To: moderator for user@couchdb.apache.org Received: (qmail 91018 invoked by uid 99); 15 Mar 2010 23:14:28 -0000 X-ASF-Spam-Status: No, hits=3.6 required=10.0 tests=FREEMAIL_FROM,FS_REPLICA,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of n.teofilov@gmail.com designates 209.85.220.226 as permitted sender) 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=TA+XoxbiS62qWuCZyMhqaugGf5yHJMkp3T5yqsqhxJQ=; b=sTFLnMZsxvjzshNz2H2YTBtDNwn1TvEZIMeLlQx/CD/jDqQREw2siKD9zPzX0kaGE6 3FdvLJ5tQqf1FQImErU9XSkm/npOyXefhXTIJGxgalkD4M7kU0oKcMeYjxLGpGl7Te2M O9gYvTp7Mz+heF5bQUlIZqZ3Pli+KJ3caq0vQ= 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=NKib+/PgM40LYjU4kX7iojS3jTA8v/2MUhYs50B9zLo3ZgA/AIiAbtfjlVCMBZHsx1 ktB84U/31dOpsO9K4KRy8tXzD5dsB3LIQ3+8ib2jmKAPSJxUjuGGFWzdm0D2G57bm7Vb r/tu4MM8cK+1ORMv/un0vw85V3wwr6eyr6HNo= From: Nikolai Teofilov Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Partial replication bug Date: Tue, 16 Mar 2010 00:13:57 +0100 Message-Id: To: user@couchdb.apache.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) Just notice a problem with the API for the replication by doc_ids: curl -X PUT http://192.168.10.239:5984/test curl -X PUT http://192.168.10.239/test/doc1 -d '{}' curl -X PUT http://192.168.10.239/test/doc2 -d '{}' curl -X PUT http://192.168.10.239/test/doc3 -d '{}' curl -X PUT http://192.168.10.239/test-replica=20 curl -X POST http://127.0.0.1:5984/_replicate -d = '{"source":"test","target":"test-replica", "doc_ids": ["doc1", "doc2", = "doc3"]}' replicate all documents. three documents. curl -X DELETE http://127.0.0.1:5984/test-replica create again the database: curl -X PUT http://127.0.0.1:5984/test-replica replicate just two of the documents: curl -X POST http://127.0.0.1:5984/_replicate -d = '{"source":"test","target":"test-replica", "doc_ids": ["doc1", "doc2"]}' will still replicate the all three documents.