ScopedCollection:CollectionResource:#branch_merge_proposal-page-resource (landing candidates) dying from late evaluation of security rules

Bug #1029642 reported by Robert Collins
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
William Grant

Bug Description

OOPS-61c47ad2db8192800bc7f2df619a7c64
https://api.launchpad.net/1.0/%7Eubuntuone-pqm-team/ubuntuone-servers/trunk-2a/landing_candidates

Is dying the death of a thousand cuts as each element in the whole batch is checked and rechecked for access permission. (Once from the batch, once from

  File "/srv/launchpad.net/production/launchpad-rev-15679/lib/lp/services/webapp/publisher.py", line 584, in canonical_urldata_iterator
    current_object = urldata.inside
  File "/srv/launchpad.net/production/launchpad-rev-15679/lib/lp/services/webapp/metazcml.py", line 396, in inside
    return getattr(self.context, attribute_to_parent)
  File "/srv/launchpad.net/production/launchpad-rev-15679/lib/lp/services/database/sqlbase.py", line 544, in block_implicit_flushes_decorator

and probably two other cases I haven't tracked down.

This /may/ be a new-access-code regression, or it may be that the data set in question has finally tipped over the edge.

Related branches

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

The hard timeout on this call was increased to 9s to alleviate this issue.

William Grant (wgrant)
tags: added: timeout
Changed in launchpad:
assignee: nobody → William Grant (wgrant)
status: Triaged → In Progress
tags: added: disclosure fallout
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :

Fixed in stable r15927 (http://bazaar.launchpad.net/~launchpad-pqm/launchpad/stable/revision/15927) by a commit, but not testable.

tags: added: qa-untestable
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
Changed in launchpad:
status: Fix Committed → Fix Released
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.