Git development
 help / color / mirror / Atom feed
From: David Tweed <tweed314@yahoo.co.uk>
To: git@vger.kernel.org
Subject: clarification on "racy-git" & very fast change+commit
Date: Mon, 18 Dec 2006 15:30:34 +0000 (GMT)	[thread overview]
Message-ID: <20061218153034.41722.qmail@web86906.mail.ukl.yahoo.com> (raw)

Hi, I'm getting prepared to do a trial migration my "selected files chronological database"
(think plan9's venti but not on every single file) to git and I'd just like to check something.

I'm still don't understand lots of stuff about git but I've read "racy-git.txt" in
Documentation for git-1.4.4.2. It appears to be saying that there used to be a race (involving
1-second timestamp limitations of filesystems) but now
things are done with a slow path fallback for would-race situations so that there is no race in
any operations any more? If the race is there, the file suggests it isn't a problem
for commiting?

I'm just checking because the way I'm planning to migrate is by using a script to
loop, checking out each snapshot from my existing backup system and commit it into git. I've got
quite a fast PC with a reasonable amount of memory but using ext3 as filesystem (which
still has 1 second timestamp resolution AIUI),
so it seems entirely plausible that I could get checkouts which alter only a few files
taking much, much less than a second. I don't know if any of them also happen to
have the same filesize, if they do this pattern seems more likely to meet the condtions of the
"race" than natural, normal git usage, so I want to see if I need to think about this dealing
with this issue. My understanding from racy-git.txt is that I don't.

Many thanks for any insight,

cheers, dave tweed





		
___________________________________________________________ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" – The Wall Street Journal 

                 reply	other threads:[~2006-12-18 15:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061218153034.41722.qmail@web86906.mail.ukl.yahoo.com \
    --to=tweed314@yahoo.co.uk \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox