Re: [PATCH 0/3] Use ref transactions for fetch
- From
Michael Haggerty <mhagger@alum.mit.edu>
- Date
- May 6, 2014, 20:53 UTC
- Message-ID
- <53694BB4.2030904@alum.mit.edu>
- In-Reply-To
- <xmqq61lig38j.fsf@gitster.dls.corp.google.com>
On 05/06/2014 08:40 PM, Junio C Hamano wrote:
Show 9 quoted lines
> Michael Haggerty <mhagger@alum.mit.edu> writes: > >> It would be pretty annoying to spend a lot of time fetching a big pack, >> only to have the fetch fail because one reference out of many couldn't >> be updated. This would force the user to download the entire pack >> again,... > > Is that really true? Doesn't quickfetch optimization kick in for > the second fetch?
Yes, I guess it would. I wasn't aware of that optimization. Thanks for the pointer.
I withdraw my objection to using atomic reference updates for fetch.
Michael
-- Michael Haggerty mhagger@alum.mit.edu http://softwareswirl.blogspot.com/