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

Re: Regression in bindings? 1.7/1.8 vs 1.6

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 12 Aug 2014 11:59:30 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> 1. client sends MKCOL
> 2. apache process MKCOL and populates txn_dir_cache
> 3. apache sends MKCOL response
> 4. apache clears MKCOL request pool
> 5. client sends MERGE
> 6. apache process MERGE
>
> 5 can happen before 4 since two processes are involved but can 6 happen
> before 4? I've not seen it happen with the worker MPM but I'm not
> familiar with all the MPMs.

This could happen if 4 and 6 occur in different threads/processes but
since the txn_dir_cache is per-thread or per-svn_fs_t any cache from a
MKCOL will not be visible to MERGE. So there is no txn_dir_cache when
apache/mod_dav_svn runs the pre-commit and so no cache to become
out-of-date.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-08-12 12:59:59 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.