From users-return-24513-apmail-subversion-users-archive=subversion.apache.org@subversion.apache.org Wed Mar 23 02:59:18 2016 Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75DEB192DC for ; Wed, 23 Mar 2016 02:59:18 +0000 (UTC) Received: (qmail 84806 invoked by uid 500); 23 Mar 2016 02:59:17 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 84769 invoked by uid 500); 23 Mar 2016 02:59:17 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 84759 invoked by uid 99); 23 Mar 2016 02:59:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Mar 2016 02:59:17 +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 AA6B51804F8 for ; Wed, 23 Mar 2016 02:59:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.821 X-Spam-Level: X-Spam-Status: No, score=-0.821 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-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 (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id cV0WPe2mEXW4 for ; Wed, 23 Mar 2016 02:59:14 +0000 (UTC) Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 6CCE65F39C for ; Wed, 23 Mar 2016 02:59:14 +0000 (UTC) Received: by mail-lf0-f43.google.com with SMTP id d82so1686424lfe.3 for ; Tue, 22 Mar 2016 19:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=osBX0Ca1CpdC/td2kH3tNZ/0PGbUJ1LqrBN/yl1SZ6Y=; b=tV77SKX3aHjoL0LTFV85ZbqhKV2R135RUufeuZSaR3IpPfdncvgC/UXdrEUiAFgTwe PWeGmhoVNZcLA8Divuh3jxQTzKLJK0GE6dlhD/PdASz+fOC+FUVdbYqhEUqo0DVglS1j U1rTZUMNbo3uLTjKk6zrFGhBDPCze9iQgGbh6SYo7Uza9rrGvIj8ibOBZUMFimDurd/A w/LOZCuqu7bloUd0UckVGuLcLuz4nKVTdFzMOCpZou1juRUGVMtv5iwvOS3W+OaQhVPK w39M4ahosFRtBG6uL/WkeoqM3Aq2x4tcHLomGg55yKZnkRHf5iP4wrZaiPIz59ESzMr6 gwIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=osBX0Ca1CpdC/td2kH3tNZ/0PGbUJ1LqrBN/yl1SZ6Y=; b=cdVsTdXixHLSaeO8d9HmKAsZ4aiNnzdCXQCpgOo3PY1G0Gt2K6IuDblsOj/VmdQ8zF gkpkZvKjpviUHWPhuvMM3+39QV9K5bziH4AfQHR83pWmXc8ncPExrc6ivT7xSp2t/OWY Bzignm7ixCHtYkyJnd7tNHz/xfPd5UVm8NLTmFm7iS+xeJiMgZoy/wYpxWYtJEBhRpZB xQ8p8Ab5Hi85TFwkgkYcXtSxcKukbTihEF0IlDf9gf36Mo0itHrnXi8z8CF+Zs/3g0cR qoR7rpWNSERG5FcxumYwvxPdBlbwXcT0A3I3UrKF9giQM4EHB9Ji9o1FQoAjj3uKY81S Hwww== X-Gm-Message-State: AD7BkJKD414FiOlsB52lY5rxOWXTVu6z5UK07c94WkGIetDS/8Jzl7R4oajCkMRBNP0gqRYgx/VW9hzKHE3Hyg== MIME-Version: 1.0 X-Received: by 10.25.26.208 with SMTP id a199mr136987lfa.77.1458701953968; Tue, 22 Mar 2016 19:59:13 -0700 (PDT) Received: by 10.25.89.19 with HTTP; Tue, 22 Mar 2016 19:59:13 -0700 (PDT) In-Reply-To: <20160322104742.GT22203@ted.stsp.name> References: <20160321195837.GM22203@ted.stsp.name> <20160322104742.GT22203@ted.stsp.name> Date: Tue, 22 Mar 2016 22:59:13 -0400 Message-ID: Subject: Re: Upgrade Subversion from 1.5 to 1.9 From: Nico Kadel-Garcia To: Nico Kadel-Garcia , Safarulla Meerasahib , Subversion Content-Type: text/plain; charset=UTF-8 On Tue, Mar 22, 2016 at 6:47 AM, Stefan Sperling wrote: > On Tue, Mar 22, 2016 at 12:25:42AM -0400, Nico Kadel-Garcia wrote: >> Then, when ready to switchover, make a good backup of the old system, >> *LOCK IT* to prevent any further ocmmits, and switch services to the >> new server. You should be able to activate a proxy or port forwarding >> for the old service, if needed, so anyone who accidentally tries to >> reach the old one actually gets the new one. > > If all deployed clients are >= 1.7, HTTP redirects from old server to the > new server will take of moving clients over to the new server automatically: > http://subversion.apache.org/docs/release-notes/1.7.html#http-redirects My big concern would be anyone continuing to write to the old server, irrelevant of redirects. Local file based Subversion access, svn_ssh access that hasn't been disabled, and dangling svnserve based services also need to be either never made available, or forcibly blocked, to prevent fascinating split-brain problems. Redirects.... well, that relies on enough control of web servers based access, possibly including DNS, to ensure a reliable redirect. > This only matters if the URL has changed, of course. If you can switch the > server while keeping the URL intact, that's even better. Yeah, *locking* the old service becomes pretty critical. If one can ensure that *no* write occur to the new server that didn't occur on the old server first, before the switchover happens, it's invaluable to help prevent split-brain problems.