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 5F53B17BCF for ; Sat, 3 Oct 2015 17:48:31 +0000 (UTC) Received: (qmail 44693 invoked by uid 500); 3 Oct 2015 17:48:30 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 44619 invoked by uid 500); 3 Oct 2015 17:48:30 -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 44607 invoked by uid 99); 3 Oct 2015 17:48:30 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Oct 2015 17:48:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id B83AD180293 for ; Sat, 3 Oct 2015 17:48:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.019 X-Spam-Level: X-Spam-Status: No, score=-0.019 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=messagingengine.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id aro6ARklZzPK for ; Sat, 3 Oct 2015 17:48:21 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 9EB75204D1 for ; Sat, 3 Oct 2015 17:48:21 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6C9FD201BA for ; Sat, 3 Oct 2015 13:48:14 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sat, 03 Oct 2015 13:48:14 -0400 DKIM-Signature: v=1; a=rsa-sha1; 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-sasl-enc:x-sasl-enc; s=smtpout; bh=981MVpzkHRsVPOY rxbHEyJWY6W8=; b=eVPBGIUsyix2DeRdUiKhDgswgz6/RxpxzlGydgTeM4Jgd7K yhHjEpjqgAlzHEU780CzhqievgDurdiajKrDd7JdM9wq5SwFt4V1v3Eh4qpHP6A5 50m6sxhRVnaEOHqApDeuCwwhaBOBta8ouCIFtgaytPCJAM8vxGDEejEEBXbQ= X-Sasl-enc: FIMN6WFKIpZmnrthVSI3n6AWJKkMPPGbFlS35Iouj8m0 1443894494 Received: from [192.168.0.13] (97e0f07c.skybroadband.com [151.224.240.124]) by mail.messagingengine.com (Postfix) with ESMTPA id 293CA68013C for ; Sat, 3 Oct 2015 13:48:14 -0400 (EDT) From: Robert Newson Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: two couchdb docker containers writing to the same mount? Message-Id: <328FB1AE-CF90-419B-9547-2004387A4333@apache.org> Date: Sat, 3 Oct 2015 18:48:13 +0100 References: In-Reply-To: To: user@couchdb.apache.org X-Mailer: iPhone Mail (13A452) It's definitely not supposed to run this way. You'll certainly corrupt your d= atabases if you allow two couchdb instances to write to the same files.=20 > On 3 Oct 2015, at 04:56, Dan Santner wrote: >=20 > I think this is just not the way couch was meant to be used but=E2=80=A6. >=20 > I setup two docker containers which shared the couchdb database directory a= nd ran them simultaneously. >=20 > Mostly it worked like a cluster=E2=80=A6.but there were plenty of strange e= rrors. I assume couch isn=E2=80=99t meant to run this way. I assume each i= nstance of couch wants to own those files?