Code review comment for lp:~edwin-grubbs/launchpad/bug-664828-teammembership-delete-timeout

Revision history for this message
Edwin Grubbs (edwin-grubbs) wrote :

> I'm confused - why is a recursive query needed?
>
> Isn't the same thing used to do the +participations able to serve the
> response in ~ 2 queries?

If Team B's membership in Team A is deactivated, then Team B and all of its participants may or may not still participate in Team A and its super teams. The only way to tell if the super teams still have participants via another path is by recursing the membership tree. This could either be done as a recursive query, which I chose, or in python.

« Back to merge proposal