Tree
- Tree:
ab5bcdf2c4a58b9391c911e9a45c06e5be3c8048
- Date:
- Message:
- fix gotd sometimes reading reused deltas from wrong pack file The reuse-pack is pinned but may change its cache slot while objects are being deltified. Refresh the pointer to the pinned reuse-pack before writing out the pack file, ensuring that reused deltas will in fact be read from the reuse-pack and not some other pack. Otherwise gotd may send a broken pack file, or hit an ERR_RANGE condition if the pack file which now occupies the pinned-pack's old cache slot is shorter. Which can trigger attempts to read beyond end-of-file which show up in the logs like this: gotd[37311]: repo_read /var/git/got.git: sending packfile: value out of range gotd[43877]: uid 1002: value out of range gotd[43877]: uid 1002: disconnecting
README.md | commits | blame |
sync-upstream.sh* | commits | blame |
README.md
MAINTSCRIPTS ============ This directory contains scripts to aid in the maintenance of -portable. * `sync-upstream.sh`: this script helps automate the syncing of upstream `GoT` with `-portable`.