Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Re: [PATCH] dblink.treewalk: lock for parallel-install with blockers (bug 576888)
Date: Wed, 09 Mar 2016 22:28:01
Message-Id: CAMiTYSr2n-ukTHFR026QxUiVfHa-7v2k1ZCYU82vEHsQ-t+brA@mail.gmail.com
In Reply to: [gentoo-portage-dev] [PATCH] dblink.treewalk: lock for parallel-install with blockers (bug 576888) by Zac Medico
1 On Wed, Mar 9, 2016 at 1:57 PM, Zac Medico <zmedico@g.o> wrote:
2
3 > For parallel-install, lock when interacting with blocked packages, in
4 > order to account for blocked packages being removed or replaced
5 > concurrently.
6 >
7 > X-Gentoo-Bug: 576888
8 > X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=576888
9 > ---
10 > pym/portage/dbapi/vartree.py | 45
11 > ++++++++++++++++++++++++++++++++++----------
12 > 1 file changed, 35 insertions(+), 10 deletions(-)
13 >
14
15 I need to think some more about how this some more. I'm afraid that
16 concurrent uninstall of one of the blocked packages could unmerge files
17 that were just installed by the current package.