Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > Flushing the entries cache

subversion
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

Flushing the entries cache

Author rhuijben
Full name Bert Huijben
Date 2009-09-18 01:25:19 PDT
Message 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
Attachments

« Previous message in topic | 1 of 2 | Next message in topic »

Messages

Show all messages in topic

Flushing the entries cache rhuijben Bert Huijben 2009-09-18 01:25:19 PDT
     Re: Flushing the entries cache gstein Greg Stein 2009-09-18 03:53:25 PDT
Messages per page: