Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C2AB4200D16 for ; Tue, 26 Sep 2017 05:06:28 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C122C1609E9; Tue, 26 Sep 2017 03:06:28 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0F4271609BB for ; Tue, 26 Sep 2017 05:06:27 +0200 (CEST) Received: (qmail 74034 invoked by uid 500); 26 Sep 2017 03:06:26 -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 74022 invoked by uid 99); 26 Sep 2017 03:06:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2017 03:06:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C34491A3E29 for ; Tue, 26 Sep 2017 03:06:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.401 X-Spam-Level: X-Spam-Status: No, score=-0.401 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id BlZFYVrsC-Ce for ; Tue, 26 Sep 2017 03:06:25 +0000 (UTC) Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 69B6960E35 for ; Tue, 26 Sep 2017 03:06:24 +0000 (UTC) Received: by mail-wr0-f179.google.com with SMTP id o42so11063834wrb.3 for ; Mon, 25 Sep 2017 20:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=OjfRFAQrHPNz0yf9WQE2cY09NzyVyDnCHhl6UE3M9u0=; b=A0IYV5nlpa+Hxlib7ngKoJvKHG+4nWE6Mvn/WHR9im2aYik2HLeLQOJUE2PfGzxVM3 2B6HNbT5PFm2mwy+LRafqot09fAITgVO4SVVGwFfrSeUUHheEvYeMRK+HtMFHj2z5pmy +G2rPKaXFmoV++EABcCfBRTDlkKVAFJEHlhmmYtwF0QtdQHkZjVaOGQtctdnwKAXmF0J J4wHKhx0IE/kUkqDWuShA3BbUt/PrE/PWk9RGuZHxC+napZYXctdob/8+Y6Xoj1BXMdL YD3blx32X7KBsF5LMBUf8R34vAvfkzEJR1/51oTk85lM/jdbQ1hRgQHRhnOYJ66/6640 mBTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=OjfRFAQrHPNz0yf9WQE2cY09NzyVyDnCHhl6UE3M9u0=; b=R9xcgDBQDwiPwyuXd62sRcn3+FXIB/8UKr3rpNy/P5DWsEU3e0nuGPdI2wYTnOFixy iRU9RRkED+j+1ndVbYxe3r4GbOW6ZYMOf5307yUdG8xukq+m3WKJFldPXZr99Irmwp4D 5IyFSNsFCRdnutUMmqM2SB7oM4Y5EmzSUX6dgv0Tm6OHZpCcb3PMHrTpN7LyqQC4Z8Fa kdY/14k8DR9UKTj332ekUG4iYz0Kty42TzdIFfMh5QUMUwPGmvsUpgVPfoa+NgWcvKaA /xfC8IpHMi4Mhc04GxOeR4BtCyNqw+HFPvSBa0SovSk15XWLr+PiINP1KMa4xWXfVNMt HTBA== X-Gm-Message-State: AHPjjUgAqGmUlObRLeJ9JjD3G0DdkNTrLbZEn1vp5sz1EczzAsQaky/l 8ALcqDLa4RM00nfTkomHI76wbPOM9vOWzGZXjJQ= X-Google-Smtp-Source: AOwi7QAHYAyaYEYqrfxCanHjWf1JzU1mm1hgpE69dZGWryDqsRHTQwQpi7+CWOu60+dA/Bh89UVY7F5BVd3fRKskpUA= X-Received: by 10.223.179.10 with SMTP id j10mr8810557wrd.273.1506395183763; Mon, 25 Sep 2017 20:06:23 -0700 (PDT) MIME-Version: 1.0 From: Geoffrey Cox Date: Tue, 26 Sep 2017 03:06:12 +0000 Message-ID: Subject: Filter _changes by key to speed up replication To: user Content-Type: multipart/alternative; boundary="94eb2c1b4532d1d87b055a0ef516" archived-at: Tue, 26 Sep 2017 03:06:29 -0000 --94eb2c1b4532d1d87b055a0ef516 Content-Type: text/plain; charset="UTF-8" Hi! Does anyone have any thoughts on https://github.com/apache/couchdb/issues/831? I want to confirm that there is not any hidden logic in CouchDB that would prevent adding a "key" parameter to the _changes feed. I'm willing to start digging into the CouchDB source if others think that adding a "key" parameter is a good idea. I think this enhancement would greatly speed up replication in a lot of scenarios, especially when using PouchDB. Thanks. Geoff --94eb2c1b4532d1d87b055a0ef516--