[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Issue with incomplete rev

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 30 Jul 2014 14:20:36 +0100

Tony Stevenson <tony_at_pc-tony.com> writes:

>> It is possible to do the operation on a copy of the slave repository and
>> keep the existing slave repository online but this requires doing
>> somthing to ensure that revprop changes made on the master during the
>> svnsync get to the copy.

If there is diskspace to have the copy on the same disk then one option
is to the leave the slave online. When the svnsync finishes on the copy
the slave will have up-to-date revprops. Then replace the slave
repository with the copy repository but keep the revprops:

    - hotcopy the slave repository
    - do the rewind/backdate/recover/svnsync operation on the copy
    - stop apache
    - move copy repository's db/revprops/ away
    - move slave repository's db/revprops/ into copy repository
    - move slave repository away
    - move copy repository to replace slave repository
    - start apache

The move operations are quick on the same disk, so the repository is
only offline for a short period.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-07-30 15:21:15 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.