On Tue, Sep 01, 2009 at 03:20:09PM -0400, Joanmarie Diggs wrote:
> As I stated above, I'd severed my network connection. This was to
> replicate what I saw this weekend when the dev repo went down at a time
> coinciding with my need to install a package.

Ah, I somehow missed the part where you said that you were doing this
without a connection.  There are still a number of issues that need to
be resolved in that space.

I noticed a similar problem with the CLI, when the dev repo crashed
again last Monday.  To deal with the generic problem of the transport
trying to hard to complete its transfers, I filed:

        10920 Transport is too persistent when downloading files
        http://defect.opensolaris.org/bz/show_bug.cgi?id=10920

However, I don't think that addresses all of the issues that you've
seen.  In particular, it looks like the GUI consumers should abort
in-progress operations as part of their shutdown procedure.  This should
be straight-forward to operations that can already be cancelled, but
there's additional work to be done to cancel other network operations.
The transport is flexible enough to cope with an abort now, but the
upper layers -- the API and image, I think -- need an object added that
allows the transport to observe that the operation has been cancelled.

> What I'm curious about is does this have anything to do with the timeout
> prevention work? During one of my trials, I didn't kill the PM process
> and restored my network connection after around half an hour. Shortly
> thereafter the process completed (or at least gracefully exited -- I
> didn't bother to check which).

Can you be more specific about your question?  If you restored
connectivity and the operation completed, that means that the client was
still trying to complete the operation.  10920 should have the transport
give up more readily when it encounters a sequence of timeouts, or other
transient network errors.

-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to