On 01/15/10 12:46 AM, Shawn Walker wrote:
On 01/14/10 05:37 PM, Shawn Walker wrote:
On 01/13/10 08:40 PM, Shawn Walker wrote:
On 01/13/10 06:42 PM, Shawn Walker wrote:
On 01/13/10 02:07 PM, Shawn Walker wrote:
Greetings,
The following webrev contains fixes for the following issue:
1668 image locking needed to prevent race conditions
1st webrev:
http://cr.opensolaris.org/~swalker/pkg-lock/
new webrev (diff against 1st):
http://cr.opensolaris.org/~swalker/pkg-lock-2/
new webrev (diff against 2nd):
http://cr.opensolaris.org/~swalker/pkg-lock-3/
new webrev (last i hope?) (diff against 3rd):
http://cr.opensolaris.org/~swalker/pkg-lock-4/
new webrev (diff against 4th):
http://cr.opensolaris.org/~swalker/pkg-lock-5/
new webrev (diff against 5th):
file:///export/home/swalker/devel/pkg-lock-6/
full webrev (complete set of changes):
file:///export/home/swalker/devel/pkg-lock-6-full/
This changeset is based on further discussions with Bart and past ones
with johansen.
Change Summary:
* Added an image state check at each major point of plan operations to
determine if plan is still valid. If image state has changed since plan
was created, a InvalidPlanError exception is raised.
* Fixed a bug with catalog.update_entry() not setting last_modified
* expanded unit tests
* changed plan methods to dump in-memory image state at start of
planning to ensure most recent state information is loaded from disk
before planning begins
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss