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

Re: Making fsfs generate unique transaction names

From: Daniel Rall <dlr_at_collab.net>
Date: 2007-06-21 23:40:46 CEST

On Tue, 19 Jun 2007, Justin Erenkrantz wrote:

> On 6/19/07, Blair Zajac <blair@orcaware.com> wrote:
> >The only thing is, I'd like to have a separate lock for updating the
> >transaction
> >current count then using the current filesystem lock. There's no reason
> >to lock
> >the filesystem for a commit while incrementing the transaction counter.
> >
> >So I'm thinking of having two new files:
> >
> >1) transaction-current: holds the base-36 number
> >2) transaction-current-lock: holds the lock for incrementing
> >transaction-current.
> >
> >Or maybe transaction-count and transaction-count-lock, or exen txn-count,
> >txn-count-lock.
> >
> >Comments?
>
> Isn't adding yet another file and yet another lockfile getting a tad
> overkill? -- justin

Yeah, you had me with (3b) up until there.

  • application/pgp-signature attachment: stored
Received on Fri Jun 22 00:01:36 2007

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.