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

Flushing the entries cache

From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Fri, 18 Sep 2009 10:25:15 +0200

21:34 <@gstein> Bert, hwright : I don't think we can remove the entries cache

I was not woried about keeping the entries cache, which we probably never can, just about keeping it up to date during processing of commit, update, merge, etc.

If we remove all svn_wc_entries_read() calls no outside code can have a reference to the actual entries hash. Then we should be able to allow flushing it in more places. (And nobody can update the hash by adding or removing entries behind our back).

The update completion code removed entries from the hash, assuming they would be written later...
(This specific example was resolved months ago, because the removal was duplicated in another layer, but there were are probably more cases)

                Bert

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2396309
Received on 2009-09-18 10:25:37 CEST

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.