requestMirror shouldn't change next_mirror_time if already set
Bug #438287 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Michael Hudson-Doyle |
Bug Description
The branch puller mirrors the branch with the oldest mirror request first. requestMirror updates the mirror requested time to "NOW". If requestMirror is called on a branch already scheduled for mirroring, it sets the mirror time to now, pushing the branch to the end of the queue.
Related branches
lp://qastaging/~mwhudson/launchpad/requestMirror-shouldnt-demote-branch
- Tim Penhey (community): Approve
-
Diff: 51 lines2 files modifiedlib/lp/code/model/branch.py (+8/-2)
lib/lp/code/model/tests/test_branchpuller.py (+20/-0)
affects: | launchpad → launchpad-code |
Changed in launchpad-code: | |
assignee: | nobody → Michael Hudson (mwhudson) |
status: | Triaged → In Progress |
Changed in launchpad-code: | |
status: | In Progress → Fix Committed |
milestone: | none → 3.1.10 |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.