On Thu, Apr 03, 2008 at 04:57:41PM -0700, Stephen Hahn wrote:

>   What kind of exception is being raised?

dbm.exception.  Which has no information, mostly because dbm_store() simply
returns -1 and gives no other information.  dbm_error() only says whether
there's an error condition, not what it might be.  I believe this is mostly
dbm's fault.

>   Do these failures happen when you have an empty repository, and are
>   sending any one of these actions, or only during an import?

It's only happened during an import.  I just tried importing
SUNWgnome-l10ndocument-extra into an empty repo, and no problems.  Then
into the repo where it had failed before, and again, no problems.

We're protecting multiple simultaneous database writes from each other with
a lock already, so there's no race condition that's suddenly bigger due to
the extra data we're writing.  I suppose it's possible I didn't get that
code right way back when, but we've heard no complaints whatsoever until
now.

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

Reply via email to