Re: [PATCH] NODES.dav_cache in wc.db is always set to NULL in serf.
From: Arwin Arni <arwin_at_collab.net>
Date: Wed, 20 Apr 2011 12:45:34 +0530
Hi,
From what I've read in the responses, I understand that the dav_cache
I've also not gone deep enough into the code to understand what
What I see through my experiments (with a master/slave setup where the
> Case 1:
This leads me to believe that in case 4, when the serf commit clears the dav_cache, the subsequent neon commit tries to read the cache and upon finding a NULL, queries the out-of-slave for the information which turns out to be wrong (wrong as in not the same information that was stored in the dav_cache prior to the serf commit). If ra_serf sets this information post the commit, then neon flawlessly picks up this information (which I believe is known only to the WC and the master and *not* the out-of-date slave) and cases 4 and 5 PASS.
If neon will be taught in the near future how to operate without the dav-cache, then this is fine. For now however, I think we should not clear this cache but rather populate it with the relevant information so that ra_layers can be switched at will.
Regards,
|
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.