BranchHasPendingWrites: The source branch has pending writes.

Bug #1231589 reported by Loïc Minier
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself

Bug Description



Launchpad encountered an internal error during the following operation:
generating the diff for a merge proposal. It was logged with id
OOPS-b622eab540a5375ca660d5a230cfcdbf. Sorry for the inconvenience.

  BranchHasPendingWrites: The source branch has pending writes.

    Traceback (most recent call last):
  Module lazr.jobrunner.jobrunner, line 194, in runJobHandleError
    self.runJob(job, fallback)
  Module, line 289, in runJob
    super(BaseJobRunner, self).runJob(IRunnableJob(job), fallback)
  Module lazr.jobrunner.jobrunner, line 162, in runJob
  Module lp.code.model.branchmergeproposaljob, line 369, in run
  Module lp.code.model.branchmergeproposaljob, line 362, in checkReady
    'The source branch has pending writes.')
BranchHasPendingWrites: The source branch has pending writes.

Which seems to have been when submitting a merge proposal.

It seems the branch was being updated while I submitted it, in which case Launchpad should probably retry?


Revision history for this message
Loïc Minier (lool) wrote :

This looks like bug #612171 but it seems to still affect certain cases.

Colin Watson (cjwatson)
tags: added: code-review oops
Changed in launchpad:
status: New → Triaged
importance: Undecided → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.