Rich Burridge wrote:
Hi all,

(This is for after OpenSolaris 2009.06).

Looking for a code review of the proposed fix for bug #5707:

 http://defect.opensolaris.org/bz/show_bug.cgi?id=5707
 depot should support SIGHUP to refresh configuration

Webrev is at:

 http://cr.opensolaris.org/~richb/pkg-5707-v1/

Just a note that this doesn't refresh *just* the configuration cache; it also picks up changes to the catalog, etc. This is basically "graceful restart" for the depot so that if you update the repository outside of the depot process, you can get it to see the new information without physically restarting the process.

There are some questions here that need answering with this change:

* What happens to clients actively downloading files (via file/ or filelist/) when SIGHUP occurs?

* What happens to clients actively downloading manifests?

* What happens to clients actively retrieving catalog data?

* What happens to clients actively retrieving feed data?

The answer is I don't know, and maybe it doesn't matter for the moment. This should also give us a way to speed up the test suite by not having to restart the depot every time a repository is updated...

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
pkg-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to