Comment 12 for bug 354036

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

Ok, root cause analysis:
 - stacking currently does not require enough data be available to generate inventory deltas for the first revision in the stacking branch
 - the new server fetch code depends [reasonably so] on being able to generate inventory deltas for the revisions present in the stacking branch

Fixes:
Immediately:
1) we will modify bzr so that enough data will be stored in new stacked branches. This will cause a 1.13.1 client pushing to a fixed server to push enough data.
2) We also plan to change the client code to anticipate that this is needed so that a fixed client pushing to a 1.13 server will upload enough data. This isn't strictly needed and if too complex we'll not do it.

Long term:
We'll change some deeper aspects of streaming push and pull to allow the server to report errors like this that occur in a cleaner way, and because they will only occur when something is actually wrong, we won't need massive complexity in the client to handle it.