revbranchcache: disable mmap access by default stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 08 Jul 2024 15:52:01 +0200
branchstable
changeset 51655 c3a622e5c6f2
parent 51654 e10b8388f27b
child 51656 d15922c41e08
revbranchcache: disable mmap access by default The revbranchcache can be truncated (if some part of it is detected as invalid). Using mmap on file we truncate is not an option at access to truncated part would result in a SIGBUS signal. So we disable the mmap by default until we fix this issue.
mercurial/configitems.toml
--- a/mercurial/configitems.toml	Mon Jun 24 18:54:59 2024 +0200
+++ b/mercurial/configitems.toml	Mon Jul 08 15:52:01 2024 +0200
@@ -2147,7 +2147,7 @@
 [[items]]
 section = "storage"
 name = "revbranchcache.mmap"
-default = true
+default = false
 
 [[items]]
 section = "storage"