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 529F7200C81 for ; Fri, 26 May 2017 19:42:50 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4DBD2160BC7; Fri, 26 May 2017 17:42:50 +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 9365D160B9C for ; Fri, 26 May 2017 19:42:49 +0200 (CEST) Received: (qmail 25249 invoked by uid 500); 26 May 2017 17:42: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 25232 invoked by uid 99); 26 May 2017 17:42:48 -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; Fri, 26 May 2017 17:42:48 +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 117F81AF9EE for ; Fri, 26 May 2017 17:42:48 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.253 X-Spam-Level: ** X-Spam-Status: No, score=2.253 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_SOFTFAIL=0.972] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=messagingengine.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id LMZDZQ4aJtYH for ; Fri, 26 May 2017 17:42:46 +0000 (UTC) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 241E55F306 for ; Fri, 26 May 2017 17:42:46 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E01082072B for ; Fri, 26 May 2017 13:42:45 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Fri, 26 May 2017 13:42:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=75yOBjYlxr4zXZYT4C3CPYC0LXH9DeA6/9s+oXp/Kbk=; b=FOr2Tpd5 WJJWZrekt65cyZTkwLsHROHTY2u3qhT/Ez1yCzXBPfcupXgF4tK1Y5lb2LZ2ADul Dksdo+eziRxFDtfPgIHtRd1u277tIsuEmTc0K3wB8H5GWOCKLxNrtPdoc5rE1fJa vu1VkVt7XCMMEvK+MuG3/51UNSYI32bvE9rMmNzrFELkDFnTGfeRGLYHAqx2NyMv EmKlp6qy/IZmyimQwzHb0HJ/EVCnE7eRZTxukrom2yyl+LkQjGvGW0M0/da5Au2l 5ATtsAIxPdsercoc8m3XkEk92kvyAXvOQSJDv8HsOvaImxReqynWVJqLZGIUw8md ZSQWHDeW7iBx4w== X-ME-Sender: X-Sasl-enc: Vbhvja0MsjjMS9nSEjXAR1IELOq+F73km1Cnr7Lh3+31 1495820565 Received: from [198.18.68.137] (13.aa.089f.ip4.static.sl-reverse.com [159.8.170.19]) by mail.messagingengine.com (Postfix) with ESMTPA id 1579D7E51B for ; Fri, 26 May 2017 13:42:45 -0400 (EDT) From: Robert Newson Content-Type: multipart/alternative; boundary=Apple-Mail-4A128A6C-EDE7-487C-8D21-B350496D0C7B Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Date: Fri, 26 May 2017 18:42:42 +0100 Subject: Re: CouchDB 2.0 Clustering Message-Id: <35CBBEF9-DC4F-498C-8916-0EE61335B155@apache.org> References: In-Reply-To: To: user@couchdb.apache.org X-Mailer: iPhone Mail (14F89) archived-at: Fri, 26 May 2017 17:42:50 -0000 --Apple-Mail-4A128A6C-EDE7-487C-8D21-B350496D0C7B Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, That's expected behaviour. Existing databases are not rebalanced as new node= s are added. New databases are distributed over them, of course, up to the l= imit of q and n parameters.=20 I wrote a guide a while back for shard moves at https://stackoverflow.com/qu= estions/6676972/moving-a-shard-from-one-bigcouch-server-to-another-for-balan= cing and it still holds Future releases of couchdb should make this easier.=20 Sent from a camp site with surprisingly good 4G signal=20 > On 26 May 2017, at 16:24, Carlos Alonso wrote: >=20 > Hi guys! >=20 > I'm very new to CouchDB administration and I was trying to setup a cluster= > and do basic operations on it (adding nodes, moving shards, ...) following= > this two resources: >=20 > http://docs.couchdb.org/en/2.0.0/cluster/sharding.html >=20 > https://medium.com/linagora-engineering/setting-up-a-couchdb-2-cluster-on-= centos-7-8cbf32ae619f >=20 > So far I've managed to setup a cluster and add nodes to it, but newly adde= d > nodes (once the cluster is running) have not received any shard from > _global_changes, _metadata, _replicator and _users databases. >=20 > I was wondering if it makes sense to have a copy on each node of those > databases to have them homogeneous (nodes added to the cluster when the > cluster was created all received their copy). >=20 > Thanks in advance! > --=20 > [image: Cabify - Your private Driver] >=20 > *Carlos Alonso* > Data Engineer > Madrid, Spain >=20 > carlos.alonso@cabify.com >=20 > Prueba gratis con este c=C3=B3digo > #CARLOSA6319 > [image: Facebook] [image: Twitter] > [image: Instagram] [image:= > Linkedin] >=20 > --=20 > Este mensaje y cualquier archivo adjunto va dirigido exclusivamente a su=20= > destinatario, pudiendo contener informaci=C3=B3n confidencial sometida a s= ecreto=20 > profesional. No est=C3=A1 permitida su reproducci=C3=B3n o distribuci=C3=B3= n sin la=20 > autorizaci=C3=B3n expresa de Cabify. Si usted no es el destinatario final p= or=20 > favor elim=C3=ADnelo e inf=C3=B3rmenos por esta v=C3=ADa.=20 >=20 > This message and any attached file are intended exclusively for the=20 > addressee, and it may be confidential. You are not allowed to copy or=20 > disclose it without Cabify's prior written authorization. If you are not=20= > the intended recipient please delete it from your system and notify us by=20= > e-mail. --Apple-Mail-4A128A6C-EDE7-487C-8D21-B350496D0C7B--