Possible race condition in branch puller causing OOPS
Bug #210031 reported by
Jonathan Lange
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Jonathan Lange |
Bug Description
See OOPS-821SMPU28.
The puller is saying that the branches that it tries to mirror are "Not a branch". And yet, by the time the OOPS report comes around, there is no problem with the branch.
My initial suspicion is that it's some sort of race condition, perhaps due to some failure / misunderstanding of branch locking.
Exception type: NotBranchError
Exception value: Not a branch: "/srv/bazaar.
description: | updated |
To post a comment you must log in.
This may also be the cause of InstallFailed errors, as mentioned in OOPS-906SMPU119
<mwhudson> jml: every time i've look at an installfailed oops, the branch has been fine the next time
<jml> mwhudson: as in, the db records a successful mirror?
<mwhudson> yes
<mwhudson> by the time the oops report comes around even
<mwhudson> i've not been systematic about it though
<jml> in that case, I reckon that it's tied to the request_mirror race bug.