CI to automate build of cargo lockfiles on different Alpine releases for git-annex aports
https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/git-annex
d5a0c16298
Actions that need to read all the location logs, like "git annex get .", were still using a lot of memory, and profiling pointed at the location log reading as the problem. Not locking them for read, and thus avoiding the strict reading fixes the problem, although I don't quite understand why. (Oddly, -sstderr profiling did not show the memory as used, though top showed dozens of MB being used.) Anyway, it's fine to not lock location logs for read, since the log format and parser should be safe if a partial read of a file being written happens. Note that that could easily happen anyway, if doing a git pull, etc, especially if git needs to union merge in changes from elsewhere. The worst that will happen is git-annex could get a bad or out of date idea about locations and refuse to eg, --drop something. |
||
---|---|---|
Backend | ||
debian | ||
doc | ||
.gitignore | ||
Annex.hs | ||
Backend.hs | ||
BackendList.hs | ||
CHANGELOG | ||
Commands.hs | ||
Core.hs | ||
git-annex.hs | ||
GitQueue.hs | ||
GitRepo.hs | ||
GPL | ||
INSTALL | ||
LocationLog.hs | ||
Locations.hs | ||
Makefile | ||
mdwn2man | ||
Remotes.hs | ||
TypeInternals.hs | ||
Types.hs | ||
Utility.hs | ||
UUID.hs |