branch puller reports failure for new hosted branches
Bug #49989 reported by
David Allouche
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Jonathan Lange |
Bug Description
Tags: supermirror branch puller sftp hosted
The SFTP server creates a new branch in the database on directory creation. Then the branch puller tries to pull that new branch on its next run, and fails if the push is still in progress, reporting that no branch data was found.
This error report is correct but misleading. Ideally, Launchpad should report "Initial SFTP upload in progress" (or likewise) at least until:
* the branch puller succeeded on that branch
* or the SFTP session that created the branch is complete
Changed in launchpad-bazaar: | |
importance: | Untriaged → Low |
status: | Unconfirmed → Confirmed |
Changed in launchpad-bazaar: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
The fix for this could be related to bug 48813.
If the SFTP server pinged the database about which branch directories were touched during the session (and hence should be pulled), then ideally we wouldn't try to pull a new branch til the sftp session was closed.