Date: Thu, 08 Nov 2018 20:31:53 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 232350] ports-mgmt/pkg: periodic pkg-checksum and pkg-backup interfere with 'overnight' port builds Message-ID: <bug-232350-32340-paLP066L4N@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-232350-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-232350-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232350 Ian Lepore <ian@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian@FreeBSD.org --- Comment #3 from Ian Lepore <ian@FreeBSD.org> --- IMO, the fix for this should strive to reduce failures due to concurrent access by the nightly periodic jobs to nearly zero, then ensure that if there is a failure, it is in the periodic jobs, not in the ports build process. A way to accomplish that would be to change the behavior of the periodic jobs to be something like: set a retry counter and retry limit do copy all files needed by the periodic job to a dir in /tmp run the statistics/validation/whatever on the temp files while validation is not-successful and retry count < limit clean up temp files With that logic it's possible for the validation to fail if the copy happened to grab a file that was being updated at the instant of the copy, but a retry loop will reduce the chances of that happening again to almost nothing. Even if it does fail, what fails is the lower-priorty periodic work, not the expensive and more-important ports building work. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232350-32340-paLP066L4N>
