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

Re: [PATCH] [merge-tracking] in memory mergeinfo hash for fs_fs

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-08-30 21:13:13 CEST

Daniel Berlin wrote:
> On 8/30/06, Kamesh Jayachandran <kamesh@collab.net> wrote:
>> Hi All,
>> Found a way to cache 'mergeinfo hash' across transactions in memory.
>
> As i've explained before, this is not going to work. You have
> absolutely no guarantees that the shared fs pointers are not going to
> be used for different things, like creating two transactions at the
> same time. If you look at the history of the code, you'll see we did
> this in the past, and then stopped because it is broken.
>
I will dig to the history.
With my current patch may be having a hash table of 'txn id'(char*) Vs
'mergeinfo(apr_hash_t*) at the fsap_data should take care of the
multiple transaction issue too, as each txn will have its own 'id'.

Will evaluate the history and try the above thing and post back to the list.

With regards
Kamesh Jayachandran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 30 21:46:18 2006

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.