diff options
author | Yann Ylavic <ylavic@apache.org> | 2022-10-17 09:48:11 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2022-10-17 09:48:11 +0000 |
commit | f02c7a9b8ac443daafac8e7be5828b4010fb46d8 (patch) | |
tree | fda95238a33421d1e018d8c5dee2d88cd92f7b26 /changes-entries | |
parent | 4701f6f3cc47ac57053cf4151bfa60dd0b86a3a3 (diff) | |
download | httpd-f02c7a9b8ac443daafac8e7be5828b4010fb46d8.tar.gz |
mod_dav: Allow to disable lock discovery via an DAVLockDiscovery expression.
mod_dav-fs scales badly when a few clients run PROPFIND requests to discover
directory content. Each PROPFIND involves lockdiscovery, which in turn waits
for a locked access to the file containing the lock database. Performances
quickly drop because of lock contention on this file.
Add a DAVLockDiscovery configuration directive that allows lockdiscovery to be
disabled. Its argument is an Apache expression so that flexible configuration
are possible (per-request).
When lock discovery is disabled, an empty lockdiscovery property is returned on
POPRFIND methods, just like if no lock was set on the object. That should cause
no regression, since a client cannot rely on lockdiscovery to decide when a
file should be accessed, the LOCK methood must be used.
If DAVLockDiscovery is not specified, the behavior is unchanged.
PR 66313.
Submitted by: Emmanuel Dreyfus <manu netbsd.org>
Reviewed by: ylavic
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904638 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'changes-entries')
-rw-r--r-- | changes-entries/DAVLockDiscovery.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changes-entries/DAVLockDiscovery.txt b/changes-entries/DAVLockDiscovery.txt new file mode 100644 index 0000000000..1696d60465 --- /dev/null +++ b/changes-entries/DAVLockDiscovery.txt @@ -0,0 +1,2 @@ + *) mod_dav: Allow to disable lock discovery via an DAVLockDiscovery + expression (per-request). PR 66313. [Emmanuel Dreyfus <manu netbsd.org>] |