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