Re: svn_fs/svn_repo repository lock API

2012-08-22 Thread Johan Corveleyn
On Thu, Aug 23, 2012 at 12:26 AM, Philip Martin wrote: > Johan Corveleyn writes: > >> Ok, let me try to decipher what that means for users. >> >> - New commit will block: does this mean that 'svn commit -mm somefile' >> will simply hang (until the repository is unfrozen, or until the >> client-si

Re: svn_fs/svn_repo repository lock API

2012-08-22 Thread Philip Martin
Johan Corveleyn writes: > Ok, let me try to decipher what that means for users. > > - New commit will block: does this mean that 'svn commit -mm somefile' > will simply hang (until the repository is unfrozen, or until the > client-side timeout is reached)? Can it be cancelled? > > - Commit in pro

RE: svn commit: r1376154 - in /subversion/branches/inheritable-props/subversion: libsvn_wc/upgrade.c libsvn_wc/wc-metadata.sql libsvn_wc/wc-queries.sql libsvn_wc/wc.h tests/libsvn_wc/db-test.c tests/l

2012-08-22 Thread Bert Huijben
> -Original Message- > From: pbu...@apache.org [mailto:pbu...@apache.org] > Sent: woensdag 22 augustus 2012 19:41 > To: comm...@subversion.apache.org > Subject: svn commit: r1376154 - in /subversion/branches/inheritable- > props/subversion: libsvn_wc/upgrade.c libsvn_wc/wc-metadata.sql >

Re: svn_fs/svn_repo repository lock API

2012-08-22 Thread Johan Corveleyn
On Wed, Aug 22, 2012 at 9:39 PM, Philip Martin wrote: > Johan Corveleyn writes: > >> On Fri, Aug 10, 2012 at 10:22 AM, Philip Martin >> wrote: >>> Johan Corveleyn writes: >>> So, say for a standard 1.8 FSFS repository, is there a timeout for commits? What's the timeout (is it configur

Re: having revprops (eg svn:log) in start-commit

2012-08-22 Thread Branko Čibej
On 22.08.2012 21:29, Johan Corveleyn wrote: > On Wed, Aug 22, 2012 at 6:28 PM, C. Michael Pilato > wrote: > ... >> * besides, philip's freeze/unfreeze offers a far more logical way to >> get honest-to-goodness-read-only-ness. > Like I asked in the thread about the freeze/unfreeze feature: what

Re: svn_fs/svn_repo repository lock API

2012-08-22 Thread Philip Martin
Johan Corveleyn writes: > On Fri, Aug 10, 2012 at 10:22 AM, Philip Martin > wrote: >> Johan Corveleyn writes: >> >>> So, say for a standard 1.8 FSFS repository, is there a timeout for >>> commits? What's the timeout (is it configurable?)? How will the commit >>> fail when it reaches the timeout

Re: having revprops (eg svn:log) in start-commit

2012-08-22 Thread Johan Corveleyn
On Wed, Aug 22, 2012 at 6:28 PM, C. Michael Pilato wrote: ... > * besides, philip's freeze/unfreeze offers a far more logical way to > get honest-to-goodness-read-only-ness. Like I asked in the thread about the freeze/unfreeze feature: what happens to a client committing to a frozen repository?

Re: svn_fs/svn_repo repository lock API

2012-08-22 Thread Johan Corveleyn
On Fri, Aug 10, 2012 at 10:22 AM, Philip Martin wrote: > Johan Corveleyn writes: > >> So, say for a standard 1.8 FSFS repository, is there a timeout for >> commits? What's the timeout (is it configurable?)? How will the commit >> fail when it reaches the timeout? > > I don't think there is a time

Re: having revprops (eg svn:log) in start-commit

2012-08-22 Thread C. Michael Pilato
On 08/22/2012 02:02 PM, Branko Čibej wrote: > On 22.08.2012 18:28, C. Michael Pilato wrote: >> * besides, philip's freeze/unfreeze offers a far more logical way to >> get honest-to-goodness-read-only-ness. > > The only caveat here being that using repo freeze could not be used > instead of start

Re: having revprops (eg svn:log) in start-commit

2012-08-22 Thread Branko Čibej
On 22.08.2012 18:28, C. Michael Pilato wrote: > * besides, philip's freeze/unfreeze offers a far more logical way to > get honest-to-goodness-read-only-ness. The only caveat here being that using repo freeze could not be used instead of start-commit blocking commits whilst importing code from a

Re: having revprops (eg svn:log) in start-commit

2012-08-22 Thread Mark Phippard
On Wed, Aug 22, 2012 at 12:28 PM, C. Michael Pilato wrote: > Bert asked the question of what would trigger the new start-commit behavior > -- upgrade to 1.8? A format bump for the repository? Personally, I lean > towards just the 1.8 upgrade. I don't feel like this only justifies a > format bu

Re: having revprops (eg svn:log) in start-commit

2012-08-22 Thread C. Michael Pilato
After IRC conversation between myself, brane, markphip, stsp, danielsh, and (to a less degree) julianf, I think I have a clear path forward on this now. The general sentiments are: * that 'start-commit' is today useful for making a repository "truly read-only" (as in, not modifiable at all) is

Re: FS vtable common_pool and pack_fs/recover

2012-08-22 Thread Philip Martin
Daniel Shahaf writes: > Philip Martin wrote on Tue, Aug 21, 2012 at 20:42:55 +0100: >> Daniel Shahaf writes: >> >> > Philip Martin wrote on Tue, Aug 21, 2012 at 18:00:23 +0100: >> >> Functions like fs_library_vtable_t.pack_fs and >> >> fs_library_vtable_t.recover that don't take the common_pool