Comment 15 for bug 354036

Revision history for this message
Andrew Bennetts (spiv) wrote : Re: ErrorFromSmartServer - AbsentContentFactory object has no attribute 'get_bytes_as' exception while pulling from Launchpad

Tim:

In general, a smart server can't generate a valid stream for an affected branch, because it doesn't have enough data to distinguish between "complete delta for a revision" and "silently missing crucial parts".

For Launchpad, we can fix affected branches by filling in the missing data (i.e. transferring the required parent inventories) from the stacking location, which is also on Launchpad. We should definitely do this after getting fixed clients out there (and cherry-picking a fix to make LP's server ask unfixed clients to send the necessary keys). If we fix up the data in hosted branches after applying the fix to the server, then all branches will be fixed, and all new branches will be fine as well.