getBranchTips must consider official series tagging on "since" handling

Bug #859681 reported by Gustavo Niemeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

The getBranchTips call in the API returns a list of branches that have changed after a given timestamp provided via the "since" parameter. This is useful to reduce the load in Launchpad by scanning only recent changes in the distribution rather than the whole history.

Unfortunately, though, there's a situation that still forces the full scan to be done and renders "since" not useful: the third parameter in the response to this query is a list of series where the given branch is tagged as official for, and changes to this list after the provided timestamp will not cause the entry to show up again in the response.

For us to be able to use the "since" parameter and save Launchpad some CPU, we need such changes to be considered in the response as well.

Francis pointed out that the marks already have last-updated timestamps, which means the change should be relatively simple for someone well versed in the server-side implementation of the logic.

Changed in launchpad:
importance: Undecided → High
status: New → Triaged
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.