Comment 4 for bug 513669

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote : Re: [Bug 513669] [NEW] Import interrupted by rollout breaks because of lock contention

Jelmer Vernooij wrote:
> On Sun, 2010-01-31 at 21:10 +0000, Michael Hudson wrote:
>> I don't have any clever (or even dumb) ideas on how to fix this :/
> Assuming you know for sure that there's always just one importer
> running, a simple way to deal with this would be to just look for a lock
> and unlock if there is a lock before doing an import.

Yes, I guess that's true enough. Programmatic unlocking is tons of fun :-)

Cheers,
mwh